Bug#265968: rdiff-backup: Can't restore incremental backups
Package: rdiff-backup
Version: 0.13.4-3
Severity: critical
Tags: sid
Justification: causes serious data loss
Thanks for maintaining rdiff-backup.
It's concept is great.
The main reason I'm writing is to report that, at
least on my box, rdiff-backup seems to be unable
to restore incremental backups.
I suspect that I'm doing something wrong, but,
since no one knows if they can restore data until
they try and the consequences of failing can be
severe, I decided to email you.
For example, when I type:
$ rdiff-backup --restore-as-of 3M /etc/passwd /tmp
it reports:
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 239, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 451, in Restore
if not restore_root_set: assert restore_set_root(src_rp)
AssertionError
However, incremental files exist:
$ ls -l /mnt/backup/rdiff-backup-data/increments/etc/passwd*
reports:
-rw-r--r-- 1 root root 259 Aug 16 2003 /mnt/backup/rdiff-backup-data/increments/etc/passwd-.2004-07-07T01:21:01-07:00.diff.gz
-rw-r--r-- 1 root root 399 Aug 16 2003 /mnt/backup/rdiff-backup-data/increments/etc/passwd.2004-07-07T01:21:01-07:00.diff.gz
Thanks,
Kingsley
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=C, LC_CTYPE=C
Versions of packages rdiff-backup depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii librsync1 0.9.6-8 Binary diff library based on the r
ii python2.3 2.3.1-2 An interactive high-level object-o
ii rdiff 0.9.5-2 Binary diff tool for signature-bas
-- no debconf information
--
Reply to: