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

[SNIP]

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.

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
interest?
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.