rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Restore as of problem


From: Steve Annessa
Subject: [rdiff-backup-users] Restore as of problem
Date: Thu, 10 Jan 2008 14:50:59 -0500

I'm trying to restore a backup from 6 days ago. There's about 74GB left on the device it's restoring to and the restore should only be 20MB.

Running: 
fillmore:/home/stevea# rdiff-backup -v6 --force --restore-as-of 7D /backups/xxx/root/xxx/mail/xxxx address@hidden::xxx
Using rdiff-backup version 1.1.14
Using mirror root directory /backups/xxxx/root
Executing ssh -C address@hidden rdiff-backup --server
Password: 
Unable to import module xattr.
Extended attributes not supported on filesystem at /backups/xxx/root/rdiff-backup-data
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /backups/xxxxx/root/rdiff-backup-data
escape_dos_devices not required by filesystem at /backups/xxx/root/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for rdiff-backup repository (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Making directory xxxx/rdiff-backup.tmp.0
Making directory xxxx/rdiff-backup.tmp.0/hl
Hard linking xxxx/rdiff-backup.tmp.0/hl/hardlinked_file2 to xxxx/rdiff-backup.tmp.0/hardlinked_file1
Unable to import module xattr.
Extended attributes not supported on filesystem at xxxx/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at xxxx/rdiff- backup.tmp.0
escape_dos_devices not required by filesystem at xxxx/rdiff-backup.tmp.0
Removing directory xxxx/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for restore target (read/write) file system:
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Access control lists                         Off
  Extended attributes                          Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Restore: must_escape_dos_devices = 0
Starting restore of /backups/xxxx/root/users/mail/jhunt to jhunt as it was as of Thu Jan  3 14:44:53 2008.
Processing changed file .
Processing changed file .mailboxlist
Regular copying ('.mailboxlist',) to jhunt/rdiff- backup.tmp.1
Hash bada1c8f4d2ba19aeb4dd3e0e58179f0d5239a27 of .mailboxlist verified
Processing changed file .subscriptions
Regular copying ('.subscriptions',) to jhunt/rdiff-backup.tmp.2
Hash 5372e0bbd21ba204ba9e326315df4de55fe38122 of .subscriptions verified
Processing changed file INBOX.Drafts
Regular copying ('INBOX.Drafts',) to jhunt/rdiff-backup.tmp.3
Hash 66b2b19d470ec342ae31c757a0f950a935e11b29 of INBOX.Drafts verified
Processing changed file INBOX.Sent
Regular copying ('INBOX.Sent',) to jhunt/rdiff-backup.tmp.5
Exception '[Errno 28] No space left on device' raised of class ' exceptions.IOError':
  File "/usr/lib/python2.4/site-packages/rdiff_backup/robust.py", line 32, in check_common_error
    try: return function(*args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 466, in get_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Rdiff.py", line 73, in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile (basis_fp, delta_fp), out_fp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 60, in copyfileobj
    outputfp.write(inbuf)

Sending back exception [Errno 28] No space left on device of type exceptions.IOError: 
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 334, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 482, in readfromid
    if length is None: return cls.vfiles[id].read()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/iterfile.py", line 302, in read
    if not self.addtobuffer(): break
  File "/usr/lib/python2.4/site-packages/rdiff_backup/iterfile.py", line 325, in addtobuffer
    try: currentobj = self.iter.next()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 245, in get_diffs_from_collated
    diff = cls.get_diff(mir_rorp, target_rorp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 258, in get_diff
    file_fp = cls.rf_cache.get_fp(expanded_index, mir_rorp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 352, in get_fp
    return rf.get_restore_fp()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 486, in get_restore_fp
    return robust.check_common_error(error_handler, get_fp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/robust.py", line 32, in check_common_error
    try: return function(*args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 466, in get_fp
    Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Rdiff.py", line 73, in write_patched_fp
    rpath.copyfileobj(librsync.PatchedFile (basis_fp, delta_fp), out_fp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 60, in copyfileobj
    outputfp.write(inbuf)

Sending back exception [Errno 28] No space left on device of type exceptions.IOError: 
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 334, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 291, in patch
    ITR(diff.index, diff)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 607, in fast_process
    self.patch_to_temp(rp, diff_rorp, tf)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 630, in patch_to_temp
    copy_report = rpath.copy(diff_rorp, new)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 101, in copy
    if rpin.isreg(): return copy_reg_file(rpin, rpout, compress)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 128, in copy_reg_file
    return rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 1068, in write_from_fileobj
    copyfileobj(fp, outfp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 58, in copyfileobj
    inbuf = inputfp.read(blocksize)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 1286, in read
    def read(self, length = -1): return self.file.read(length)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/iterfile.py", line 118, in read
    if not self.addtobuffer(): break
  File "/usr/lib/python2.4/site-packages/rdiff_backup/iterfile.py", line 133, in addtobuffer
    type, data = "">
  File "/usr/lib/python2.4/site-packages/rdiff_backup/iterfile.py", line 414, in _get
    if not self.buf: self.buf += self.file.read()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 515, in read
    return self.connection.VirtualFile.readfromid (self.id, length)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 447, in __call__
    return apply(self.connection.reval , ( self.name,) + args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 369, in reval
    if isinstance(result, Exception): raise result

Exception '[Errno 28] No space left on device' raised of class 'exceptions.IOError':
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 288, in take_action
    elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 500, in Restore
    inc_rpath, dest_rp, time)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 37, in Restore
    TargetS.patch(target, diff_iter)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 447, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 369, in reval
    if isinstance(result, Exception): raise result

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.error_check_Main( sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 288, in take_action
    elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 500, in Restore
    inc_rpath, dest_rp, time)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py", line 37, in Restore
    TargetS.patch(target, diff_iter)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 447, in __call__
    return apply(self.connection.reval, ( self.name,) + args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 369, in reval
    if isinstance(result, Exception): raise result
IOError: [Errno 28] No space left on device
fillmore:/home/stevea# Fatal Error: Lost connection to the remote system


reply via email to

[Prev in Thread] Current Thread [Next in Thread]