I am trying to restore a backup I made recently but all I get is a folder named tmpJ00F37 in the destination folder. I ran sbackup on a friends machine and restored the /home folder completely. I don't understand why I cannot restore my /home folder. I ran:
sudo srestore.py /media/disk/2009-12-23_12.06.30.198497.charlie-desktop.ful /home/prisca
password for charlie:
home/prisca
Traceback (most recent call last):
File "/usr/sbin/srestore.py", line 157, in <module>
ret = r.restore( sys.argv, sys.argv )
File "/usr/sbin/srestore.py", line 97, in restore
if os.path.exists(dst) and not filecmp.cmp(src, dst):
File "/usr/lib/python2.6/filecmp.py", line 42, in cmp
s1 = _sig(os.stat(f1))
OSError: No such file or directory: '/home/prisca/tmpnsUKWq/home/prisca/'
I am trying to restore a backup I made recently but all I get is a folder named tmpJ00F37 in the destination folder. I ran sbackup on a friends machine and restored the /home folder completely. I don't understand why I cannot restore my /home folder. I ran:
sudo srestore.py /media/disk/2009-12-23_12.06.30.198497.charlie-desktop.ful /home/prisca
password for charlie:
home/prisca
Traceback (most recent call last):
File "/usr/sbin/srestore.py", line 157, in <module>
ret = r.restore( sys.argv, sys.argv )
File "/usr/sbin/srestore.py", line 97, in restore
if os.path.exists(dst) and not filecmp.cmp(src, dst):
File "/usr/lib/python2.6/filecmp.py", line 42, in cmp
s1 = _sig(os.stat(f1))
OSError: No such file or directory: '/home/prisca/tmpnsUKWq/home/prisca/'
sudo srestore.py /media/disk/2009-12-23_12.06.30.198497.charlie-desktop.ful /home/prisca /home/prisca/old
Traceback (most recent call last):
File "/usr/sbin/srestore.py", line 159, in <module>
ret = r.restore( sys.argv, sys.argv, sys.argv )
File "/usr/sbin/srestore.py", line 112, in restore
shutil.move( os.path.join(tdir,spath), dpath )
File "/usr/lib/python2.6/shutil.py", line 264, in move
copy2(src, real_dst)
File "/usr/lib/python2.6/shutil.py", line 99, in copy2
copyfile(src, dst)
File "/usr/lib/python2.6/shutil.py", line 52, in copyfile
fsrc = open(src, 'rb')
IOError: No such file or directory: '/home/prisca/tmpJ0OF37/home/prisca'