SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Restore failing
Author Message
Post Restore failing 
Hi,

I'm having a little problem performing restores of backups. The source is
a samba mounted directory on my linux system and the destination is also a
samba mounted directory on the same linux system. The source and
destination files are on a MS-Windows 2000 machine. The command I use is:

rdiff-backup --windows-mode --print-statistics -v9 /mnt/windows/Dept\
Folder/ /mnt/maxtor/Dept\ Folder/

Now when I try to perform a backup, I get the following error. Is this a
bug in the system? I'd be happy to help in any way I can. Cheers.

[root < at > callisto root]# rdiff-backup --windows-mode --print-statistics -v9
/mnt/windows/Dept\ Folder/ /mnt/maxtor/Dept\ Folder/
Tue Jul 6 18:02:59 2004 Previous backup seems to have failed, regressing
destination now.
Tue Jul 6 18:03:00 2004 Regressing to Wed Jun 30 16:07:35 2004
Tue Jul 6 18:03:01 2004 Regressing attributes of /mnt/maxtor/Dept
Folder/2002 chain ;080ayment ;082ecord
Tue Jul 6 18:03:01 2004 Copying attributes from ('2002 chain Payment
Record',) to /mnt/maxtor/Dept Folder/2002 chain ;080ayment ;082ecord
Tue Jul 6 18:03:01 2004 Setting time of /mnt/maxtor/Dept Folder/2002
chain ;080ayment ;082ecord to 1084326999
Tue Jul 6 18:03:02 2004 Regressing file Marketing folder/OPS & MKTG/DO
Gagdet OPS To Mktg/DO 2630-Gadget Poster.xls
Tue Jul 6 18:03:02 2004 Applying patch Marketing folder/OPS & MKTG/DO
Gagdet OPS To Mktg/DO 2630-Gadget
Poster.xls.2004-06-30T16:07:35+08:00.diff.gz
Tue Jul 6 18:03:02 2004 Writing file object to /mnt/maxtor/Dept
Folder/;077arketing folder/;079;080;083 ;038 ;077;075;084;071/;068;079
;071agdet ;079;080;083 ;084o ;077ktg/rdiff-backup.tmp.0
Tue Jul 6 18:03:03 2004 Copying attributes from ('Marketing folder',
'OPS & MKTG', 'DO Gagdet OPS To Mktg', 'DO 2630-Gadget Poster.xls') to
/mnt/maxtor/Dept Folder/;077arketing folder/;079;080;083 ;038
;077;075;084;071/;068;079 ;071agdet ;079;080;083 ;084o
;077ktg/rdiff-backup.tmp.0
Tue Jul 6 18:03:03 2004 Setting time of /mnt/maxtor/Dept
Folder/;077arketing folder/;079;080;083 ;038 ;077;075;084;071/;068;079
;071agdet ;079;080;083 ;084o ;077ktg/rdiff-backup.tmp.0 to 1072086885
Tue Jul 6 18:03:03 2004 Renaming /mnt/maxtor/Dept Folder/;077arketing
folder/;079;080;083 ;038 ;077;075;084;071/;068;079 ;071agdet ;079;080;083
;084o ;077ktg/rdiff-backup.tmp.0 to /mnt/maxtor/Dept Folder/;077arketing
folder/;079;080;083 ;038 ;077;075;084;071/;068;079 ;071agdet ;079;080;083
;084o ;077ktg/;068;079 2630-;071adget ;080oster.xls
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 254,
in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 226,
in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 264,
in Backup
backup_init_dirs(rpin, rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 296,
in backup_init_dirs
checkdest_if_necessary(rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 672,
in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
70, 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/rorpiter.py", line
279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
231, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
261, in restore_orig_regfile
rf.mirror_rp.get_parent_rp().fsync() # require move before inc delete
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 907,
in fsync
if not fp: self.conn.rpath.RPath.fsync_local(self)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 914,
in fsync_local
os.fsync(fd)
OSError: [Errno 22] Invalid argument

Ditesh

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB