diff options
author | Sharon Kimble <boudiccas@skimble.plus.com> | 2014-08-26 19:08:03 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-09-02 18:03:37 +0100 |
commit | c1b5b4e681a273dadd406c6b33bbe0226b7cf1ca (patch) | |
tree | dc632d6d3a61939b9bb0210750302f047a5ee228 /manual/en | |
parent | bdc923b7a4ed32a701adec0943be28f09008b909 (diff) | |
download | obnam-c1b5b4e681a273dadd406c6b33bbe0226b7cf1ca.tar.gz |
modified: manual/en/070-restoring.mdwn
Diffstat (limited to 'manual/en')
-rw-r--r-- | manual/en/070-restoring.mdwn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/manual/en/070-restoring.mdwn b/manual/en/070-restoring.mdwn index 378b071e..80ea9e5d 100644 --- a/manual/en/070-restoring.mdwn +++ b/manual/en/070-restoring.mdwn @@ -90,6 +90,32 @@ restored files. If you do want replace your live data with restored files, you should restore to a temporary location first, and then move the files to where you want them to be. +An actual example of a restoration +---------------------------------- + +I had a corrupted gnus file, and this is how I restored it from backup. + + obnam --config=/home/foobar/cron/conf/obnam.conf generations>~/cron/upload/obgen.txt + +This copies all generations for the main obnam backup to obgen.txt, and this +is part of that file. + + 1207586 2014-08-25 08:00:43 .. 2014-08-25 08:08:24 (385163 files, 175029819657 bytes) + 1208367 2014-08-25 12:00:42 .. 2014-08-25 12:08:31 (385965 files, 175057598863 bytes) + 1209313 2014-08-25 16:00:12 .. 2014-08-25 16:07:33 (386537 files, 175076976590 bytes) + 1210254 2014-08-25 20:00:15 .. 2014-08-25 20:09:41 (386896 files, 175086483254 bytes) + +And I decided to restore from generation 1208367. + +This is the actual restore command. + + obnam --config=/home/foobar/cron/conf/obnam.conf --generation=1208367 restore ~/News/rss/nnrss.el --to=/home/foobar/cron/upload/ + +This restores 'nnrss.el' to ~/cron/upload/ from where I was able to copy it +back to its proper place in ~/News/rss/ + +Obviously you replace your user-name for foobar. + Practice makes prestores painless --------------------------------- |