[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Restoring from an old archive with a new rdiff-
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] Restoring from an old archive with a new rdiff-backup |
Date: |
Wed, 23 Jul 2003 02:08:39 -0700 |
>>>>> "JL" == Jeff Lessem <address@hidden>
>>>>> wrote the following on Tue, 22 Jul 2003 15:54:22 -0600
JL> I am attempting to upgrade from rdiff-backup 0.10.2 to 0.12.1.
JL> I removed the old rdiff-backup, built and installed the new one,
JL> and then tried to restore one of my existing increments, but
JL> that failed.
======================================================
diff -u -r1.31 -r1.31.2.1
--- rdiff-backup/rdiff-backup/rdiff_backup/restore.py 2003/06/26 07:23:04
1.31
+++ rdiff-backup/rdiff-backup/rdiff_backup/restore.py 2003/07/23 09:04:09
1.31.2.1
@@ -178,8 +178,7 @@
rorp = rf.get_attribs()
yield rorp
if rorp.isdir():
- for sub_rf in rf.yield_sub_rfs():
- for rorp in yield_attribs(sub_rf): yield rorp
+ for sub_rf in rf.yield_sub_rfs(): yield
sub_rf.get_attribs()
def subtract_indicies(cls, index, rorp_iter):
"""Subtract index from index of each rorp in rorp_iter
======================================================
However, this patch does not support the restoration of hard link
information. So it seems to get all the hard link information you
will have to use 0.10.2. (Before hard links were stored in a
different format in a special file, seems like too much effort to add
support for that now.)
--
Ben Escoto
pgpDox4jMP4SU.pgp
Description: PGP signature