Commit e0c4ba29 authored by ben's avatar ben

Added more explanation to --restore-as-of in RESTORING section.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@186 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent a688f547
...@@ -458,15 +458,24 @@ see the ...@@ -458,15 +458,24 @@ see the
section). The /usr.backup/local directory was selected, because that section). The /usr.backup/local directory was selected, because that
is the directory containing the current version of /usr/local. is the directory containing the current version of /usr/local.
.PP .PP
The second way to do this would be to find the corresponding increment Note that the option to
file. It would be in the /backup/rdiff-backup-data/increments/usr .B --restore-as-of
directory, and its name would be something like always specifies an exact time. (So "3D" refers to the instant 36
"local.2002-11-09T12:43:53-04:00.dir" where the time indicates it is hours before the present.) If there was no backup made at that time,
from 3 days ago. Note that the increment files all end in ".diff", rdiff-backup restores the state recorded for the previous backup. For
".snapshot", ".dir", or ".missing", where ".missing" just means that instance, in the above case, if "3D" is used, and there are only
the file didn't exist at that time (finally, some of these may be backups from 2 days and 4 days ago, /usr/local as it was 4 days ago
gzip-compressed, and have an extra ".gz" to indicate this). Then will be restored.
running: .PP
The second way to restore files involves finding the corresponding
increment file. It would be in the
/backup/rdiff-backup-data/increments/usr directory, and its name would
be something like "local.2002-11-09T12:43:53-04:00.dir" where the time
indicates it is from 3 days ago. Note that the increment files all
end in ".diff", ".snapshot", ".dir", or ".missing", where ".missing"
just means that the file didn't exist at that time (finally, some of
these may be gzip-compressed, and have an extra ".gz" to indicate
this). Then running:
.PP .PP
.RS .RS
rdiff-backup /backup/rdiff-backup-data/increments/usr/local.<time>.dir /usr/local.old rdiff-backup /backup/rdiff-backup-data/increments/usr/local.<time>.dir /usr/local.old
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment