I use the backup tool in Plasma 5.27.12 to save my home directory into an external USB drive. Since yesterday, all backup attempts are failing. Log says “No such file or directory” but doesn’t say which file or directory could not be found:
Kup is starting bup backup job at Tuesday 8 April 2025 09:46:08 CEST
bup "-d" "/media/alvaro/backup-ps-agv/KDE Backup" "init"
bup "-d" "/media/alvaro/backup-ps-agv/KDE Backup" "fsck" "--quick" "-j" "4"
Exit code: 0
bup "-d" "/media/alvaro/backup-ps-agv/KDE Backup" "index" "-u" "--exclude" "/home/alvaro/.cache" "--exclude" "/home/alvaro/.local/share/Trash" "--exclude" "/home/alvaro/.local/share/baloo" "--exclude-rx-from" "/home/alvaro/Backup/bup-exclude.txt" "/home/alvaro"
[Errno 2] No such file or directory
WARNING: 1 errors encountered.
Exit code: 1
Kup did not successfully complete the bup backup job: failed to index everything.
To confirm, I run the commands manually, init
and fsck
work fine, but index
fails with these messages:
[Errno 2] No such file or directory
Indexing: 961541, done (10766 paths/s).
bup: merging indexes (12210600/12210600), done.
WARNING: 1 errors encountered.
Adding verbosity flags, I just get before the indexing phase a detailed list of the files and directories being scanned:
[...]
/home/alvaro/.Microsoft/webview/localstorage/https_login.microsoftonline.com_0.localstorage
/home/alvaro/.Microsoft/webview/localstorage/
/home/alvaro/.Microsoft/webview/.lock
/home/alvaro/.Microsoft/webview/
/home/alvaro/.Microsoft/
/home/alvaro/
Indexing: 961607, done (9884 paths/s).
bup: merging indexes (12210737/12210737), done.
WARNING: 1 errors encountered.
I can’t find any meaningful reference to bup
in journalctl
output or the entire /var/log
directory.
External drive is by no means full.
I’ve tried saving the backup in the local drive, and now I get the same exact messages after initialisation and two errors on further updates:
Reinitialized existing Git repository in /home/alvaro/NoBackup/test-bup/
[Errno 2] No such file or directory
[Errno 2] No such file or directory
Indexing: 1396336, done (18695 paths/s).
bup: merging indexes (1396342/1396342), done.
WARNING: 2 errors encountered.
I’ve stripped all options from the command and it still fails.
I ran out of ideas.