rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] rdiff-backup stopped working


From: Michele
Subject: [rdiff-backup-users] rdiff-backup stopped working
Date: Thu, 11 Dec 2008 01:18:13 +0100

Hi everybody.
I have a problem with my backup. I'm used to periodically run a backup
with rdiff-backup. Unfortunately a few days ago the electricity went
down for a few seconds, while I was running a backup. Since that time
I'm not able to make any incremental backup as I did before for a couple
of year without any kind of problem (God Save rdiff-backup!).
This is the error I get:

=====================================================================
Exception
'Path: 
/mnt/space/michele/Backup/home/michele/rdiff-backup-data/long_filename_data/11.2008-12-03T02:49:49+01:00.dir
Index: ('long_filename_data', '11.2008-12-03T02:49:49+01:00.dir')
Data: {'uid': 1000, 'perms': 448, 'type': 'reg', 'gname': 'michele',
'ea': <rdiff_backup.eas_acls.ExtendedAttributes instance at 0x929b96c>,
'ctime': 1228835251, 'devloc': 2082L, 'uname': 'michele', 'nlink': 1,
'gid': 1000, 'mtime': 1228239260, 'atime': 1228835251, 'inode':
12049483L, 'size': 0L}' raised of class '<type
'exceptions.AssertionError'>':
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
343, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
243, in patch_and_increment
    ITR(diff.index, diff)
  File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py",
line 284, in __call__
    branch.start_process(*args)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
712, in start_process
    inc = increment.Increment(diff_rorp, self.base_rp, inc_prefix)
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 41, in Increment
    elif mirror.isdir(): incrp = makedir(mirror, incpref)
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 103, in makedir
    dirsign = get_inc(incpref, "dir")
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 123, in get_inc
    assert not incrp.lstat(), incrp

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
343, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
243, in patch_and_increment
    ITR(diff.index, diff)
  File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py",
line 284, in __call__
    branch.start_process(*args)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line
712, in start_process
    inc = increment.Increment(diff_rorp, self.base_rp, inc_prefix)
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 41, in Increment
    elif mirror.isdir(): incrp = makedir(mirror, incpref)
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 103, in makedir
    dirsign = get_inc(incpref, "dir")
  File "/var/lib/python-support/python2.5/rdiff_backup/increment.py",
line 123, in get_inc
    assert not incrp.lstat(), incrp
AssertionError:
Path: 
/mnt/space/michele/Backup/home/michele/rdiff-backup-data/long_filename_data/11.2008-12-03T02:49:49+01:00.dir
Index: ('long_filename_data', '11.2008-12-03T02:49:49+01:00.dir')
Data: {'uid': 1000, 'perms': 448, 'type': 'reg', 'gname': 'michele',
'ea': <rdiff_backup.eas_acls.ExtendedAttributes instance at 0x929b96c>,
'ctime': 1228835251, 'devloc': 2082L, 'uname': 'michele', 'nlink': 1,
'gid': 1000, 'mtime': 1228239260, 'atime': 1228835251, 'inode':
12049483L, 'size': 0L}
====================================================================

After I get this error I cannot list the backup increments (-l option),
until I run rdiff-backup with "--check-destination-dir". After that
rdiff-backup will correctly list the increments, but if I try a backup,
no hope: again the same error.
This is the script I run:


====================================================================
#!/bin/bash

DEST_FOLDER=/mnt/space/michele/Backup/home/michele/
SOURCE=/home/michele

rdiff-backup --exclude-other-filesystems --exclude $SOURCE/.thumbnails/
--exclude $SOURCE/.cache/ --exclude $SOURCE/.googleearth/Cache --exclude
$SOURCE/.Trash --exclude $SOURCE/.wine/drive_c/ --exclude
$SOURCE/.PlayOnLinux/ --exclude $SOURCE/Desktop/apt-mirror/ --exclude
"$SOURCE/Desktop/Da vedere" --exclude $SOURCE/opt/ $SOURCE $DEST_FOLDER

====================================================================

I really would like to continue using this set of backups, without the
need of starting a new full set (tons of giga).

Any idea?
Thanks,
Michele





reply via email to

[Prev in Thread] Current Thread [Next in Thread]