Explanation for recovery

This commit is contained in:
Robin Kloppe 2015-03-12 08:32:56 +01:00
parent 365d638d06
commit 424855bd96

View file

@ -11,4 +11,16 @@ Works for all versions.
3. Let the magic happen 3. Let the magic happen
You can restore your data with You can restore your data with
`duplicity --file-to-restore neddedFile $EXTERNALPATH/TO//media/mount/duplicity/path/to/file/ /where/to/save/now` `duplicity -t nD --file-to-restore relative/neddedFile $EXTERNALPATH/TO//media/mount/duplicity/ /where/to/save/now`
| Parameter | Description|
| ------------- | ------------- |
| `-t nD` | The version from how much days in the past should be recovered? |
| `relative/neddedFile` | Where, relative from the next parameter is the file in the backup? |
| `$EXTERNALPATH/TO//media/mount/duplicity/` | Where are the duplicity-files stored on the external storage? |
| `/where/to/save/now` | Where should the recovered file saved to (must not exist)? |
Example:
`duplicity -t 8D --file-to-restore apache2/sites-available/site.conf ssh://backup@hostname2.domain.tld//home/hostname1/etc /home/user/site.conf`
If you execute this on the machine where you want to restore an eight days old `/etc/apache2/sites-available/site.conf` from the external machine `hostname2.domain.tld`, then the recovered file will be saved in `/home/user/site.conf`