Welcome! » Log In » Create A New Profile

--restore-as-of error

Posted by Anonymous 
--restore-as-of error
July 11, 2016 11:25PM
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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > 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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > 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.
--restore-as-of error
July 11, 2016 11:56PM
Put the --tempdir (path) before the main parameters.
On 12 Jul 2016 07:24, "Stephen Butler" <stephenbh < at > hotmail.com ([email]stephenbh < at > hotmail.com[/email])> wrote:[quote]
Hi all,

I&#39;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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > adralogan.org.au.pst /mnt/hda1/test
Exception &#39;[Errno 28] No space left on device&#39; raised of class &#39;<type &#39;exceptions.IOError&#39;>&#39;:
  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 &#39;[Errno 28] No space left on device&#39; raised of class &#39;<type &#39;exceptions.IOError&#39;>&#39;:
  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&#39;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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > 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 < at > nongnu.org ([email]rdiff-backup-users < at > nongnu.org[/email])
[url=https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users]https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users[/url]
Wiki URL: [url=http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki]http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki[/url]
[/quote]
--restore-as-of error
July 12, 2016 08:12AM
If this doesn&#39;t work, try with --remote-tempdir [path] instead of/as well as --tempdir [path], as you seem to be restoring from a remote machine and in this case I think the remote machine probably does the heavy lifting.

On 12 July 2016 at 07:29, Dominic Raferd <dominic < at > timedicer.co.uk ([email]dominic < at > timedicer.co.uk[/email])> wrote:
[quote]
Put the --tempdir (path) before the main parameters.
On 12 Jul 2016 07:24, "Stephen Butler" <stephenbh < at > hotmail.com ([email]stephenbh < at > hotmail.com[/email])> wrote:

[quote]
Hi all,

I&#39;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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > adralogan.org.au.pst /mnt/hda1/test
Exception &#39;[Errno 28] No space left on device&#39; raised of class &#39;<type &#39;exceptions.IOError&#39;>&#39;:
  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 &#39;[Errno 28] No space left on device&#39; raised of class &#39;<type &#39;exceptions.IOError&#39;>&#39;:
  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&#39;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 < at > MICHELLE/Documents/Outlook Files/a
dmin < at > 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 < at > nongnu.org ([email]rdiff-backup-users < at > nongnu.org[/email])
[url=https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users]https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users[/url]
Wiki URL: [url=http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki]http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki[/url]
[/quote]

[/quote]
Sorry, only registered users may post in this forum.

Click here to login