I suggest you try using my rdiff-backup-regress - at http://www.timedicer.co.uk/programs/help/rdiff-backup-regress.sh.php - this can force a regression (or multiple regressions).
On 15 September 2015 at 12:34, Patrik Dufresne <ikus...@gmail.com> wrote: > Hello Dominic, > > I did not run "--check-destination-dir" right after deleting the > "current_mirror". I try to run it after making a backup. > > This morning I had: > current_mirror.2015-08-24T01:12:31-04:00.data > current_mirror.2015-09-14T19:37:48-04:00.data > > The last successful backup seams to be "2015-08-24T01:12:31-04:00". > I delete "current_mirror.2015-09-14T19:37:48-04:00.data". Then I ran > "rdiff-backup --check-destination-dir": > > $ rdiff-backup --check-destination-dir ~/ikus060-rdiff/ > Fatal Error: Destination dir /home/ikus060/ikus060-rdiff does not need > checking > > I believe something is wrong... > > BTW, I see alot of files related to "2015-09-14T19:37:48-04:00" in > rdiff-backup-data: file_statistics, increments, mirror_metadata. I also see > some files related to "2015-09-14T19:00:02-04:00". Should I delete all of > them ? I know the last successfule backup is "2015-08-24". > > -- > Patrik Dufresne > > > On Tue, Sep 15, 2015 at 3:05 AM, Dominic Raferd <domi...@timedicer.co.uk> > wrote: > >> After deleting the current_mirror file did you then run rdiff-backup with >> --check-destination-dir? This performs the actual regression to the >> previous, hopefully consistent, backup. >> >> On 15 September 2015 at 00:46, Patrik Dufresne <ikus...@gmail.com> wrote: >> >>> Hello, >>> >>> One of my backup repository seams to be mess up alot. I think the backup >>> have been interrupted multiple time. I do have a very long history for this >>> backup and I don't want to lose it. >>> >>> First, I encounter "regressing destination" error. So as usual, I've >>> delete the current_mirror. But even then, the backup refused to start with >>> the following exception: >>> >>> # /usr/bin/rdiff-backup --print-statistics --exclude '**/.wine' >>> --exclude '**/.PlayOnLinux' --exclude '**/.dropbox' --exclude >>> '**/.dropbox.cache' --exclude '**/.dropbox-dist' --exclude '**/.cache/' >>> --exclude '**/.gnome2_private' --exclude '**/.config/deluge' --exclude >>> '**/.gstreamer-0.10' --exclude '**/.gvfs' --exclude '**/.gtk-bookmarks' >>> --exclude '**/.local/share/Trash/' --exclude '**/.local/share/zeitgeist' >>> --exclude '**/.local/share/gvfs-metadata' --exclude '**/.cache' --exclude >>> '**/.config/google-chrome' --exclude '**/VirtualBox VMs' --exclude >>> '**/Downloads' --exclude '**/.gnupg' --exclude '**/.m2/repository' >>> --exclude '**/.metadata/.plugins/org.eclipse.e4.workbench' --exclude >>> '**/.metadata/.plugins/org.eclipse.m2e.core/' --exclude '**/*~' --exclude >>> '**/Steam' --exclude '**/.xchat2' --exclude '**/.xbmc' --exclude '**/.swt' >>> --exclude '**/.eclipse' --exclude '**/.vim' --exclude '**/.ekwos' --exclude >>> '**/.glpk' --exclude '**/workspace/*/target/*' --exclude '**/.dropbox' >>> --include '/home/ikus060' --include '/etc/backup.d/' --include >>> '/home/ikus060/.local/share/hamster-applet' --include '/root/.ssh' >>> --exclude '/*' / ikus060@fente::/home/ikus060/ikus060-rdiff >>> Exception 'Path: >>> /home/ikus060/ikus060-rdiff/rdiff-backup-data/mirror_metadata.2015-09-14T19:00:02-04:00.snapshot.gz >>> Index: ('mirror_metadata.2015-09-14T19:00:02-04:00.snapshot.gz',) >>> Data: {'size': 2948234, 'ctime': 1442273220, 'perms': 384, 'inode': >>> 6447109, 'mtime': 1442273220, 'ea': >>> <rdiff_backup.eas_acls.ExtendedAttributes instance at 0x7f7fa4731248>, >>> 'devloc': 23L, 'uname': 'ikus060', 'nlink': 1, 'gname': 'ldap-users', >>> 'gid': 10000, 'atime': 1442273454, 'type': 'reg', 'uid': 10000}' raised of >>> class '<type 'exceptions.AssertionError'>': >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 304, in error_check_Main >>> try: Main(arglist) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 324, in Main >>> take_action(rps) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 280, in take_action >>> elif action == "backup": Backup(rps[0], rps[1]) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 343, in Backup >>> backup.Mirror_and_increment(rpin, rpout, incdir) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/backup.py", line >>> 48, in Mirror_and_increment >>> DestS.set_rorp_cache(dest_rpath, source_rpiter, 1) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", >>> line 450, in __call__ >>> return apply(self.connection.reval, (self.name,) + args) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", >>> line 370, in reval >>> if isinstance(result, Exception): raise result >>> >>> Traceback (most recent call last): >>> File "/usr/bin/rdiff-backup", line 30, in <module> >>> rdiff_backup.Main.error_check_Main(sys.argv[1:]) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 304, in error_check_Main >>> try: Main(arglist) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 324, in Main >>> take_action(rps) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 280, in take_action >>> elif action == "backup": Backup(rps[0], rps[1]) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line >>> 343, in Backup >>> backup.Mirror_and_increment(rpin, rpout, incdir) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/backup.py", line >>> 48, in Mirror_and_increment >>> DestS.set_rorp_cache(dest_rpath, source_rpiter, 1) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", >>> line 450, in __call__ >>> return apply(self.connection.reval, (self.name,) + args) >>> File "/usr/lib/python2.7/dist-packages/rdiff_backup/connection.py", >>> line 370, in reval >>> if isinstance(result, Exception): raise result >>> AssertionError: Path: >>> /home/ikus060/ikus060-rdiff/rdiff-backup-data/mirror_metadata.2015-09-14T19:00:02-04:00.snapshot.gz >>> Index: ('mirror_metadata.2015-09-14T19:00:02-04:00.snapshot.gz',) >>> Data: {'size': 2948234, 'ctime': 1442273220, 'perms': 384, 'inode': >>> 6447109, 'mtime': 1442273220, 'ea': >>> <rdiff_backup.eas_acls.ExtendedAttributes instance at 0x7f7fa4731248>, >>> 'devloc': 23L, 'uname': 'ikus060', 'nlink': 1, 'gname': 'ldap-users', >>> 'gid': 10000, 'atime': 1442273454, 'type': 'reg', 'uid': 10000} >>> >>> Do you have some good approach to repair a repository ? May I revert the >>> backup destination to a stable point ? >>> >>> -- >>> Patrik Dufresne >>> >>> >>> _______________________________________________ >>> rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org >>> https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users >>> Wiki URL: >>> http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki >>> >> >> >
_______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki