[Top][All Lists]

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

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

From: Robert Nichols
Subject: Re: [rdiff-backup-users] user needs assistance in restoring directory
Date: Tue, 03 Jan 2012 12:25:26 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Red Hat/3.1.16-2.el6_1 Thunderbird/3.1.16

On 01/02/2012 11:57 PM, Shane Bywater wrote:
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.

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
Restore: must_escape_dos_devices = 0
Starting restore of /backup/data to /restore as it was as of Thu Dec 29 23:58:21
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.

That result is consistent with the directory not existing for the specified
time.  Have you run "rdiff-backup -l /backup/data" or "rdiff-backup -l
/backup/data/ACS/Data to see what increments exist for the directories of

Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

reply via email to

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