Unfortunately, it appears that a bug in error handler obscures the actual error here because it expects error number when there is none. It looks like our duplicity version was until recently over a year old and unmaintained. Could you please try again with duplicity: 0.8.23 -> 2.2.3 by corngood · Pull Request #299405 · NixOS/nixpkgs · GitHub (hoping the error handling got fixed in the meantime).
It is already part of nixos-unstable so no need to check the PR branch, just nixos-unstable. You should quit deja-dup, checkout the nixos-unstable branch in Nixpkgs repo (git pull just to be sure it is recent enough), then nix-build -A deja-dup and run result/bin/deja-dup.
I’m using tar to make hourly backups, which are piped through gpg for encryption and through curl for on-the-fly transfer to a remote server over sftp.
The incrementals are based on the last full which means that a full restore only requires the last full backup and the last incremental backup.
A nice feature of tar is that incrementals also contains deletions.
Could you please add a question mark to the title of this post? (Like “… is not reliable?”)
When you search for “NixOS and Deja-dup” on the Web you currently get this title displayed suggesting that “NixOS and Deja-dup” is a bad combination or that Deja-dup in general is unreliable, which it doesn’t seem to be according to what has been said here.
Thank you for your understanding! (… and respect for the Open Source developers)
deja-dup also failed me, i opened an issue and (from memory) the maintainer explained to me the likely cause but it could not be recovered. Also, there is no way to verify the integrity of your backups via deja-dup, which aggravated the situation as i was not notified that i had this problem until i actually wanted to restore.
I’m now using rustic + rclone for online backups and kopia for offline backups. Both are great (kopia only supports some rclone backends, that’s why i can’t use it for online backups in my case) and verify the integrity of your backups so you’ll get a warning if there is a problem.
Verifying the backup via the tool’s own verification tool is good but not sufficient to be confident in a backup’s integrity. You must actually attempt to restore the backup and verify that it produces the expected data.