When running the next command, I get errors about accessing certain files or directories (like
/root) for which Duplicity does not have sufficient permissions:
duplicity --dry-run --include="/home/user" --include="/other/dir" \ --exclude='/' / file:///tmp/backup-test/
I started wondering why this happens and ran a strace to see which files are accessed:
strace -o /tmp/duplicity-traced -e trace=file !!
To my surprise, every file in the directory
/home are accessed through
stat(). This does not look good, performance-wise. Is duplicity just not optimized for this query or am I missing something?