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

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

[rdiff-backup-users] user needs assistance in restoring directory


From: Shane Bywater
Subject: [rdiff-backup-users] user needs assistance in restoring directory
Date: Tue, 03 Jan 2012 00:57:30 -0500
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0

Hi,
    I'm having a strange issue when trying to restore a directory.  I'm using rdiff-backup 1.2.8 on both the local (backup) server where the backup is initiated and the data is saved to and the remote fileserver.
The command I have been using to make the backups is:
On the backup server:
#rdiff-backup address@hidden::/data /backup
This process has been going along without errors showing up and the /data directory on the remote fileserver is correctly being stored on /backup on the local backup server.

On Dec. 30/2011 a user mistakenly deleted the directory /data/data/ACS/Data on the fileserver.

/backup/data/rdiff-backup-data/session_statistics.2011-12-30T22:16:04-05:00.data
StartTime 1325301364.00 (Fri Dec 30 22:16:04 2011)
EndTime 1325301843.68 (Fri Dec 30 22:24:03 2011)
ElapsedTime 479.68 (7 minutes 59.68 seconds)
SourceFiles 10406
SourceFileSize 48650912083 (45.3 GB)
MirrorFiles 19804
MirrorFileSize 50013609650 (46.6 GB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 9398
DeletedFileSize 1362697877 (1.27 GB)
ChangedFiles 6
ChangedSourceSize 12627 (12.3 KB)
ChangedMirrorSize 12317 (12.0 KB)
IncrementFiles 9404
IncrementFileSize 1195961836 (1.11 GB)
TotalDestinationSizeChange -166735731 (-159 MB)
Errors 0

I am wanting to restore the /data/data/ACS/Data directory to a temporary directory on the backup server so that I can FTP it to my Windows machine which is on the same LAN to burn the files on a DVD.

I've tried the following command:
On the backup server:

#sudo rdiff-backup -v8 -r 4D /backup/data /restore


address@hidden data]# sudo rdiff-backup -v8 -r 4D /backup/data /restore
Using rdiff-backup version 1.2.2
Using mirror root directory /backup/data
Unable to import module xattr.
Extended attributes not supported on filesystem at /backup/data/rdiff-backup-data
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /backup/data/rdiff-backup-data
Unable to import win32security module. Windows ACLs
not supported by filesystem at /backup/data/rdiff-backup-data
escape_dos_devices not required by filesystem at /backup/data/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for rdiff-backup repository (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Making directory /restore
Making directory /restore/rdiff-backup.tmp.0
Touching /restore/rdiff-backup.tmp.0/5-_ a.snapshot.gz
Deleting /restore/rdiff-backup.tmp.0/5-_ a.snapshot.gz
Touching /restore/rdiff-backup.tmp.0/uniᄉ
Deleting /restore/rdiff-backup.tmp.0/uniᄉ
Touching /restore/rdiff-backup.tmp.0/:\"
Deleting /restore/rdiff-backup.tmp.0/:\"
Touching /restore/rdiff-backup.tmp.0/A
Deleting /restore/rdiff-backup.tmp.0/A
Touching /restore/rdiff-backup.tmp.0/foo
Deleting /restore/rdiff-backup.tmp.0/foo
Making directory /restore/rdiff-backup.tmp.0/hl
Touching /restore/rdiff-backup.tmp.0/hardlinked_file1
Hard linking /restore/rdiff-backup.tmp.0/hl/hardlinked_file2 to /restore/rdiff-backup.tmp.0/hardlinked_file1
Unable to import module xattr.
Extended attributes not supported on filesystem at /restore/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /restore/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /restore/rdiff-backup.tmp.0
Touching /restore/rdiff-backup.tmp.0/dir_inc_check
Deleting /restore/rdiff-backup.tmp.0/dir_inc_check
Touching /restore/rdiff-backup.tmp.0/regfile
Deleting /restore/rdiff-backup.tmp.0/regfile
Touching /restore/rdiff-backup.tmp.0/high_perms_file
Touching /restore/rdiff-backup.tmp.0/high_perms_dir
Deleting /restore/rdiff-backup.tmp.0/high_perms_file
Deleting /restore/rdiff-backup.tmp.0/high_perms_dir
Touching /restore/rdiff-backup.tmp.0/symlinked_file1
Deleting /restore/rdiff-backup.tmp.0/symlinked_file2
Deleting /restore/rdiff-backup.tmp.0/symlinked_file1
escape_dos_devices not required by filesystem at /restore/rdiff-backup.tmp.0
Deleting /restore/rdiff-backup.tmp.0
Removing directory /restore/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for restore target (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 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 /backup/data to /restore as it was as of Thu Dec 29 23:58:21 2011.
Processing changed file .
Regular copying () to /rdiff-backup.tmp.1
Removing directory /restore
Restore finished
Cleaning up

As you can see at the end of the process it removes the /restore directory where the restored directory and files should be.  What am I doing wrong?  I'm guessing (hoping) it's something simple but I'm been at this for too long and it's past midnight and I'm out of options.  I'm hoping someone can let me know what command to use and on what server to use it so that I can restore the deleted /data/data/ACS/Data directory to a temporary directory on the backup server.

TIA,
Shane Bywater

reply via email to

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