I try to back up the root directory (/) of a Linux installation, but it never finishes.
Kopia v0.13.0 runs on the same host in a docker container.
The task is stuck at different percentages and files every time I try to run it.
Last time it ran to 100% but is still running, showing:
Running for 43m 34s: snap/lxd/24322/lib/x86_64-linux-gnu/ceph/crypto.
The error counter in KopiaUI shows 7 errors, but I do not see a way to find out which files it errored on.
content-logs and cli-logs do not show anything suspicious. How can I find out why the task is stuck?
I have zstd compression enabled and the following ignored files:
run/
dev/
proc/
tmp/
var/lib/docker/overlay2
run with --log-level debug
flag - it should give you more details
Thanks, but even with the debug log level it’s just stuck at one point:
DEBUG snapshotted directory {"path":"usr","dur":"3.107328007s","size":4072833799,"files":103011,"dirs":13663,"errors":0}
search log for errors - last line does not have to be necessary point at when something went wrong
Thanks for the hint!
I do see the following, but don’t have any indication on why it failed with these files:
DEBUG snapshotted directory {"path":"usr/src/linux-headers-5.15.0-75/tools/testing/selftests/filesystems/epoll","dur":"293.716µs","size":154,"files":1,"dirs":1,"errors":0}
/ 2 hashing, 5629 hashed (212.9 MB), 314980 cached (887 GB), uploaded 189 B (1 fatal errors) (6 errors ignored), estimated 887.6 GB (100.0%) 0s left
DEBUG snapshotted directory {"path":"usr/src/linux-headers-5.15.0-75/tools
/testing/selftests/filesystems","dur":"584.135µs","size":530,"files":3,"dirs":3,"errors":0}
DEBUG snapshotted directory {"path":"usr/src/linux-headers-5.15.0-75/tools/testing/selftests/locking","dur":"207.065µs","size":677,"files":2,"dirs":1,"errors":0}
I decided to switch from backing up /
to specific directories that I need to be backed up, which now works fine! Thanks for your help, @kapitainsky.