Mail Backup Issue

Hello,

My backup does not work anymore. The encrupted folder contains only old backups

root@mail:/home/user-data/backup/encrypted# ls -ali
total 2915688
1050127 drwxr-xr-x 2 user-data root 12288 Apr 25 03:06 .
1045229 drwxr-xr-x 4 root root 4096 Feb 20 17:12 …
1061092 -rw------- 1 user-data root 891 Apr 25 03:06 duplicity-full.20190425T010008Z.manifest.gpg
1061072 -rw------- 1 user-data root 262187151 Apr 25 03:05 duplicity-full.20190425T010008Z.vol10.difftar.gpg
1050671 -rw------- 1 user-data root 262193775 Apr 25 03:05 duplicity-full.20190425T010008Z.vol11.difftar.gpg
1061079 -rw------- 1 user-data root 101447282 Apr 25 03:06 duplicity-full.20190425T010008Z.vol12.difftar.gpg
1050644 -rw------- 1 user-data root 262175138 Apr 25 03:01 duplicity-full.20190425T010008Z.vol1.difftar.gpg
1061075 -rw------- 1 user-data root 262191770 Apr 25 03:01 duplicity-full.20190425T010008Z.vol2.difftar.gpg
1061080 -rw------- 1 user-data root 262189896 Apr 25 03:02 duplicity-full.20190425T010008Z.vol3.difftar.gpg
1061081 -rw------- 1 user-data root 262198637 Apr 25 03:02 duplicity-full.20190425T010008Z.vol4.difftar.gpg
1061082 -rw------- 1 user-data root 262181233 Apr 25 03:03 duplicity-full.20190425T010008Z.vol5.difftar.gpg
1061083 -rw------- 1 user-data root 262192302 Apr 25 03:03 duplicity-full.20190425T010008Z.vol6.difftar.gpg
1061084 -rw------- 1 user-data root 262200474 Apr 25 03:04 duplicity-full.20190425T010008Z.vol7.difftar.gpg
1061085 -rw------- 1 user-data root 262202592 Apr 25 03:04 duplicity-full.20190425T010008Z.vol8.difftar.gpg
1061086 -rw------- 1 user-data root 262223536 Apr 25 03:04 duplicity-full.20190425T010008Z.vol9.difftar.gpg

when trying to run the backup manually :

root@mail:~/mailinabox# sudo ./management/backup.py
Fatal Error: Unable to start incremental backup. Old signatures not found and incremental specified
Traceback (most recent call last):
File “./management/backup.py”, line 554, in
perform_backup(full_backup)
File “./management/backup.py”, line 279, in perform_backup
get_env(env))
File “/root/mailinabox/management/utils.py”, line 123, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File “/usr/lib/python3.6/subprocess.py”, line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[’/usr/bin/duplicity’, ‘incr’, ‘–verbosity’, ‘warning’, ‘–no-print-statistics’, ‘–archive-dir’, ‘/home/user-data/backup/cache’, ‘–exclude’, ‘/home/user-data/backup’, ‘–volsize’, ‘250’, ‘–gpg-options’, ‘–cipher-algo=AES256’, ‘/home/user-data’, ‘file:///home/user-data/backup/encrypted’, ‘–allow-source-mismatch’, “–ssh-options=‘-i /root/.ssh/id_rsa_miab’”, ‘–rsync-options=-e “/usr/bin/ssh -oStrictHostKeyChecking=no -oBatchMode=yes -p 22 -i /root/.ssh/id_rsa_miab”’]’ returned non-zero exit status 17.

If you have a little idea, I’m interested!

Have you recently migrated from the Ubuntu 14 to Ubuntu 18 version? Which version of MiaB are you presently running?

No, it’s a fresh Install on Ubuntu 18 (The migration from Ubuntu 14 was done by IMAP)

The backup worked well at first.

Hi! Has anyone found solution to the problem? I have the same error.

Did a fix for this ever get found.

I have the same problem just randomly appear today.

Fatal Error: Unable to start incremental backup. Old signatures not found and incremental specified
Traceback (most recent call last):
File “management/backup.py”, line 578, in
perform_backup(full_backup)
File “management/backup.py”, line 279, in perform_backup
get_env(env))
File “/root/mailinabox/management/utils.py”, line 123, in shell
ret = getattr(subprocess, method)(cmd_args, **kwargs)
File “/usr/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[’/usr/bin/duplicity’, ‘incr’, ‘–verbosity’, ‘warning’, ‘–no-print-statistics’, ‘–archive-dir’, ‘/home/user-data/backup/cache’, ‘–exclude’, ‘/home/user-data/backup’, ‘–volsize’, ‘250’, ‘–gpg-options’, ‘–cipher-algo=AES256’, ‘/home/user-data’, ‘file:///home/user-data/backup/encrypted’, ‘–allow-source-mismatch’, ‘–ssh-options= -i /root/.ssh/id_rsa_miab’, ‘–rsync-options= -e “/usr/bin/ssh -oStrictHostKeyChecking=no -oBatchMode=yes -p 22 -i /root/.ssh/id_rsa_miab”’]’ returned non-zero exit status 17.