Hi all,

I'm experimenting with restoring older version of a large outlook file (9gb)


My command and the error output.

sudo rdiff-backup --restore-as-of=1467950584 
/mnt/hda1/rdiffbackup.repositorys/Michelle@MICHELLE/Documents/Outlook\ Files/a
d...@adralogan.org.au.pst /mnt/hda1/test
Exception '[Errno 28] No space left on device' raised of class '<type 
'exceptions.IOError'>':
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/robust.py", line 
32, in check_common_error
    try: return function(*args)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
468, in get_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Rdiff.py", line 73, 
in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 64, 
in copyfileobj
    outputfp.write(inbuf)

Exception '[Errno 28] No space left on device' raised of class '<type 
'exceptions.IOError'>':
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, 
in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, 
in Main
    take_action(rps)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 290, 
in take_action
    elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 573, 
in Restore
    inc_rpath, dest_rp, time)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
37, in Restore
    TargetS.patch(target, diff_iter)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
291, in patch
    for diff in rorpiter.FillInIter(diff_iter, target):
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 
169, in FillInIter
    first_rp = rpiter.next() # StopIteration gets passed upwards
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
247, in get_diffs_from_collated
    diff = cls.get_diff(mir_rorp, target_rorp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
260, in get_diff
    file_fp = cls.rf_cache.get_fp(expanded_index, mir_rorp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
354, in get_fp
    return rf.get_restore_fp()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
488, in get_restore_fp
    return robust.check_common_error(error_handler, get_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/robust.py", line 
32, in check_common_error
    try: return function(*args)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
468, in get_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Rdiff.py", line 73, 
in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 64, 
in copyfileobj
    outputfp.write(inbuf)

Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, 
in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, 
in Main
    take_action(rps)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 290, 
in take_action
    elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 573, 
in Restore
    inc_rpath, dest_rp, time)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
37, in Restore
    TargetS.patch(target, diff_iter)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
291, in patch
    for diff in rorpiter.FillInIter(diff_iter, target):
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 
169, in FillInIter
    first_rp = rpiter.next() # StopIteration gets passed upwards
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
247, in get_diffs_from_collated
    diff = cls.get_diff(mir_rorp, target_rorp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
260, in get_diff
    file_fp = cls.rf_cache.get_fp(expanded_index, mir_rorp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
354, in get_fp
    return rf.get_restore_fp()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
488, in get_restore_fp
    return robust.check_common_error(error_handler, get_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/robust.py", line 
32, in check_common_error
    try: return function(*args)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line 
468, in get_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Rdiff.py", line 73, 
in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 64, 
in copyfileobj
    outputfp.write(inbuf)
IOError: [Errno 28] No space left on device


I should note that I'm using microcore 3.8.4 Linux as the os.


I tried expanding my swap partition but that does not seem to help.


So I tried adding --tempdir and got following error

sudo rdiff-backup --restore-as-of=1467950584 
/mnt/hda1/rdiffbackup.repositorys/Michelle@MICHELLE/Documents/Outlook\ Files/a
d...@adralogan.org.au.pst /mnt/hda1/test --tempdir /mnt/hda1/tmp
Fatal Error: Wrong number of arguments given.
See the rdiff-backup manual page for more information.

I do have plenty of hard drive space on this partition.

Any suggestions welcome.

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to