restic: add how to restore a specific file (#2605)

This commit is contained in:
Bruno Bigras 2018-11-24 05:10:08 -05:00 committed by Owen Voke
parent 00150f769a
commit 88bccae363

View File

@ -18,6 +18,10 @@
`restic -r {{path/to/repository}} restore {{snapshot_id}} {{path/to/target}}`
- Restore a specific path from a specific backup to a target directory:
`restic -r {{path/to/repository}} --include {{path/to/restore}} --target {{path/to/target}} restore {{snapshot_id}}`
- Clean up the repository and keep only the most recent snapshot of each unique backup:
`restic forget --keep-last 1 --prune`