restic: add how to restore a specific file (#2605)
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
|
|
||||||
`restic -r {{path/to/repository}} restore {{snapshot_id}} {{path/to/target}}`
|
`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:
|
- Clean up the repository and keep only the most recent snapshot of each unique backup:
|
||||||
|
|
||||||
`restic forget --keep-last 1 --prune`
|
`restic forget --keep-last 1 --prune`
|
||||||
|
Reference in New Issue
Block a user