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

Reply via email to