[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Error in
From: |
Mario Doering |
Subject: |
Re: [rdiff-backup-users] Error in |
Date: |
Thu, 6 Sep 2007 12:21:57 +0200 |
On Thu, 6 Sep 2007 12:06:46 +0200
David <address@hidden> wrote:
> I think that your rdiff-backup is failing because it detects a failed
> earlier rdiff-backup session and wants to regress to before that
> failed backup. But the regress fails because rdiff-backup is unable to
> set the permissions etc it wants to on your backup destination.
>
> Preferably log into the remote server, and run rdiff-backup locally.
>
> Alternately, you may be able to run rdiff-backup --check over a nfs
> mountpoint, or against a rdiff-backup service runnning on the remote
> host.
The check command results in the same error as the
check-destination-dir.
rdiff-backup is started locally. I cannot install nfs on that machine,
but I can rsync all the stuff to another directory (ext3) and run the
check command there.
I'll report back then :)
# rdiff-backup -v 5 --check /mnt/backup_local/daehne/Inetpub
Using rdiff-backup version 1.1.14
Warning: hard linking not supported by filesystem
at /mnt/backup_local/daehne/Inetpub/rdiff-backup-data Directories on
file system
at /mnt/backup_local/daehne/Inetpub/rdiff-backup-data/rdiff-backup.tmp.0
are not fsyncable. Assuming it's unnecessary. Unable to import module
xattr. Extended attributes not supported on filesystem
at /mnt/backup_local/daehne/Inetpub/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package. ACLs not
supported on filesystem
at /mnt/backup_local/daehne/Inetpub/rdiff-backup-data/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem
at /mnt/backup_local/daehne/Inetpub/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities
for /mnt/backup_local/daehne/Inetpub/rdiff-backup-data (read/write)
file system: Ownership changing Off Hard
linking Off fsync()
directories Off Directory inc
permissions Off High-bit
permissions On Symlink
permissions Off Extended
filenames Off Access control
lists Off Extended
attributes Off Case
sensitivity On Escape DOS
devices Off Mac OS X style resource
forks Off Mac OS X Finder information
Off -----------------------------------------------------------------
Restore: must_escape_dos_devices = 0 Regressing to Wed Sep 5 01:10:03
2007 Regressing attributes of /mnt/backup_local/daehne/Inetpub/ASP
Regressing attributes of /mnt/backup_local/daehne/Inetpub/AdminScripts
Regressing attributes
of /mnt/backup_local/daehne/Inetpub/ftproot/daehne/datenbank Regressing
attributes of /mnt/backup_local/daehne/Inetpub/ftproot/daehne
Regressing attributes of /mnt/backup_local/daehne/Inetpub/ftproot
Regressing file scripts/AddrDat.dll Exception '[Errno 22] Invalid
argument' raised of class 'exceptions.OSError': File
"/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 302, in
error_check_Main try: Main(arglist) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 322, in
Main take_action(rps) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 280, in
take_action elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line
787, in CheckDest dest_rp.conn.regress.Regress(dest_rp) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 71,
in Regress for rf in iterate_meta_rfs(mirror_rp, inc_rpath):
ITR(rf.index, rf) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rorpiter.py", line
281, in __call__ last_branch.fast_process(*args) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 267,
in fast_process if rf.metadata_rorp.isreg():
self.restore_orig_regfile(rf) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 297,
in restore_orig_regfile rf.mirror_rp.get_parent_rp().fsync() # require
move before inc delete File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1157,
in fsync if not fp: self.conn.rpath.RPath.fsync_local(self) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1170,
in fsync_local os.fsync(fd)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line
302, in error_check_Main try: Main(arglist)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line
322, in Main take_action(rps)
File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line
280, in take_action elif action == "check-destination-dir":
CheckDest(rps[0]) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 787, in
CheckDest dest_rp.conn.regress.Regress(dest_rp) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 71,
in Regress for rf in iterate_meta_rfs(mirror_rp, inc_rpath):
ITR(rf.index, rf) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rorpiter.py", line
281, in __call__ last_branch.fast_process(*args) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 267,
in fast_process if rf.metadata_rorp.isreg():
self.restore_orig_regfile(rf) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/regress.py", line 297,
in restore_orig_regfile rf.mirror_rp.get_parent_rp().fsync() # require
move before inc delete File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1157,
in fsync if not fp: self.conn.rpath.RPath.fsync_local(self) File
"/usr/lib64/python2.4/site-packages/rdiff_backup/rpath.py", line 1170,
in fsync_local os.fsync(fd) OSError: [Errno 22] Invalid argument