[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Corrupt Archive - Only Copy ...
From: |
Malte Hinrichs |
Subject: |
[rdiff-backup-users] Corrupt Archive - Only Copy ... |
Date: |
Wed, 29 Apr 2009 09:54:34 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Hi,
I hope someone can help me, because I desperately need the data in
question and I am running out of ideas on how to solve this problem myself.
I created a copy of my windows home-directory to a
usb-external-harddrive using:
rdiff-backup /media/windows/Users/malte /media/My\
Passport/Grobi/windows/Users/malte
Somehow I must have corrupted this archive.
I tried
rdiff-backup -r 0B /media/My\ Passport/Grobi/windows/Users/malte
/media/windows/Users/malte
and I was informed that the chars-to-quote file in rdiff-backup-data was
missing, so I recreated one.
Then I got:
Fatal Error: Previous backup to /media/My
Passport/Grobi/windows/Users/malte seems to have failed.
Rerun rdiff-backup with --check-destination-dir option to revert
directory to state before unsuccessful session.
I did just that, but it also failed (see message at the bottom)
Is there any way to restore my data - at least the initial backup?
Technically "cp -a dir_backup dir" would work, but all filenames have
lots of quoted chars and are largely unreadable.
Is there a way to restore them to their original names?
Any help will be greatly appreciated
Malte
====================
Content of rdiff-backup-data:
chars_to_quote increments
current_mirror.2009-03-02;08420;05858;05821+01;05800.data
increments.2009-02-11;08402;05800;05850+01;05800.dir
current_mirror.2009-03-30;08423;05813;05830+02;05800.data
increments.2009-03-02;08420;05858;05821+01;05800.dir
error_log.2009-02-11;08402;05800;05850+01;05800.data
mirror_metadata.2009-02-11;08402;05800;05850+01;05800.diff.gz
error_log.2009-03-02;08420;05858;05821+01;05800.data.gz
mirror_metadata.2009-03-02;08420;05858;05821+01;05800.snapshot.gz
file_statistics.2009-02-11;08402;05800;05850+01;05800.data.gz
session_statistics.2009-02-11;08402;05800;05850+01;05800.data
file_statistics.2009-03-02;08420;05858;05821+01;05800.data.gz
session_statistics.2009-03-02;08420;05858;05821+01;05800.data
====================
address@hidden:/media/My Passport/Grobi/windows/Users$ rdiff-backup
--check-destination-dir malte
Warning: hard linking not supported by filesystem at /media/My
Passport/Grobi/windows/Users/malte/rdiff-backup-data
^[[B^[[A^[[BException '[Errno 5] Input/output error: '/media/My
Passport/Grobi/windows/Users/malte/rdiff-backup-data/increments/;070;077;084/;066ackup/;069/;072inrichs/;069;068;087/;080ro;069/;077otor8.5mm/;086ersion02''
raised of class '<type
'exceptions.OSError'>':
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
304, in
error_check_Main
try:
Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
324, in
Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
282, in
take_action
elif action == "check-destination-dir":
CheckDest(rps[0])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
872, in
CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.5/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/lib/python2.5/site-packages/rdiff_backup/regress.py", line
197, in
iterate_meta_rfs
for raw_rf, metadata_rorp in
collated:
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
92, in
Collate2Iters
try: relem1 =
riter1.next()
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in
helper
for sub_sub_rf in
helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
174, in
helper
for sub_rf in
rf.yield_sub_rfs():
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
515, in
yield_sub_rfs
for mirror_rp, inc_pair in
collated:
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
100, in
Collate2Iters
try: relem2 =
riter2.next()
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
566, in
yield_inc_complexes
items =
get_inc_pairs()
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
554, in
get_inc_pairs
for filename in dirlist:
add_to_dict(filename)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
547, in
add_to_dict
rp =
inc_rpath.append(filename)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1149, in
append
return self.__class__(self.conn, self.base, self.index +
(ext,))
File
"/usr/lib/python2.5/site-packages/rdiff_backup/FilenameMapping.py", line
146, in __init__
else:
self.setdata()
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
908, in
setdata
self.data =
self.conn.rpath.make_file_dict(self.path)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
287, in
make_file_dict
return
C.make_file_dict(filename)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
304, in error_check_Main
try:
Main(arglist)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
324, in Main
take_action(rps)
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
282, in take_action
elif action == "check-destination-dir":
CheckDest(rps[0])
File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line
872, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.5/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/lib/python2.5/site-packages/rdiff_backup/regress.py", line
197, in iterate_meta_rfs
for raw_rf, metadata_rorp in
collated:
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
92, in Collate2Iters
try: relem1 = riter1.next()
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
175, in helper
for sub_sub_rf in helper(sub_rf):
File "/usr/lib/python2.5/site-packages/rdiff_backup/regress.py", line
174, in helper
for sub_rf in rf.yield_sub_rfs():
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
515, in yield_sub_rfs
for mirror_rp, inc_pair in collated:
File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line
100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
566, in yield_inc_complexes
items = get_inc_pairs()
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
554, in get_inc_pairs
for filename in dirlist: add_to_dict(filename)
File "/usr/lib/python2.5/site-packages/rdiff_backup/restore.py", line
547, in add_to_dict
rp = inc_rpath.append(filename)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
1149, in append
return self.__class__(self.conn, self.base, self.index + (ext,))
File
"/usr/lib/python2.5/site-packages/rdiff_backup/FilenameMapping.py", line
146, in __init__
else: self.setdata()
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
908, in setdata
self.data = self.conn.rpath.make_file_dict(self.path)
File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line
287, in make_file_dict
return C.make_file_dict(filename)
OSError: [Errno 5] Input/output error: '/media/My
Passport/Grobi/windows/Users/malte/rdiff-backup-data/increments/;070;077;084/;066ackup/;069/;072inrichs/;069;068;087/;080ro;069/;077otor8.5mm/;086ersion02'
- [rdiff-backup-users] Corrupt Archive - Only Copy ...,
Malte Hinrichs <=