diff options
Diffstat (limited to 'manual/fr/070-restoring.mdwn')
-rw-r--r-- | manual/fr/070-restoring.mdwn | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/manual/fr/070-restoring.mdwn b/manual/fr/070-restoring.mdwn index 378b071e..b56bd9fc 100644 --- a/manual/fr/070-restoring.mdwn +++ b/manual/fr/070-restoring.mdwn @@ -5,7 +5,7 @@ The worst has happened! Your cat got confused between its litter box and your hard drive! Your goat deleted your most important document ever! Woe be you! -Let's stay calm. This is why you have backups. There's on need for +Let's stay calm. This is why you have backups. There's no need for exclamation marks. Take a deep breath, have a cup of tea, and all will be well. @@ -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 --------------------------------- |