[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Restore Failure with 0.13.1
From: |
John Baker |
Subject: |
Re: [rdiff-backup-users] Restore Failure with 0.13.1 |
Date: |
Thu, 30 Oct 2003 10:20:30 -0600 |
Thanks. The problem was related to the famous more than one current_mirror*
file. I deleted the earliest one and the restore operation worked.
However, when I backup now, I get this:
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 247, in
Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 218, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 260, in
Backup
backup_final_init(rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 353, in
backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 755, in
checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line 69,
in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line 154,
in iterate_meta_rfs
for raw_rf, metadata_rorp in collated:
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib/python2.2/site-packages/rdiff_backup/metadata.py", line
221, in iterate
next_pos = self.get_next_pos()
File "/usr/lib/python2.2/site-packages/rdiff_backup/metadata.py", line
212, in get_next_pos
newbuf = self.fileobj.read(self.blocksize)
File "/usr/lib/python2.2/gzip.py", line 159, in read
self._read(readsize)
File "/usr/lib/python2.2/gzip.py", line 206, in _read
self._read_eof()
File "/usr/lib/python2.2/gzip.py", line 241, in _read_eof
raise ValueError, "CRC check failed"
ValueError: CRC check failed
Also, I noticed the following in the rdiff-backup directory:
1) two current_mirror* files - again
2) A corrupted error log - when I try to unzip I get this:
gunzip: error_log.2003-10-30T03:10:43-05:00.data.gz: unexpected end of file
3) A mirror_metadata with the correct date, but very small size - and the
next to last one is also very small: 109 and 99 bytes, respectively.
4) No session_statitstics file with the correct date
Do I need to delete all current_mirror* files as well as these (apparently)
incorrect files?
Thanks again,
John Baker
On Tue, 28 Oct 2003 10:24:39 -0600 "John Baker" <address@hidden>
wrote:
> I am running rdiff-backup 0.13.1 and it's backing up nightly without
> failure. However when I try to restore with
>
> rdiff-backup -v 8 -r 10D /mnt/syncback/laser/m_drive/BURG
> /mnt/syncback/BURG
>
> I get this:
...
> Unable to import module xattr. EAs not supported on filesystem at
> /mnt/syncback/laser/rdiff-backup-data/rdiff-backup.tmp.1
> Unable to import module posix1e from pylibacl package.
> ACLs not supported on filesystem at
...
> Fatal Error: Previous backup to /mnt/syncback/laser seems to have failed.
> Rerun rdiff-backup rdiff-with --check-destination-dir option to revert
> directory to state before unsuccessful session.
> Cleaning up
>
> As I said, the last (and other previous) backup sessions were successful.
> These files are windows files. Do they need some sort of special handling
> for EA's?
Those EA/ACL messages are a normal part of rdiff-backup's
initialization for 0.13.x; it is just trying to figure out what
capabilities your system has. Are you sure the last backup was
successful? rdiff-backup seems to think the last backup failed. If
you 'ls /mnt/syncback/laser/rdiff-backup-data/current_mirror*' you can
see what the last successful and failed backups are.
Also you should upgrade to 0.13.3 and/or 0.12.5.
--
Ben Escoto
----- Original Message -----
From: "Ben Escoto" <address@hidden>
To: "John Baker" <address@hidden>
Cc: "rdiff-backup" <address@hidden>
Sent: Tuesday, October 28, 2003 11:43 AM
Subject: Re: [rdiff-backup-users] Restore Failure with 0.13.1