mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 16:27:49 +03:00
restic: add how to restore a specific file (#2605)
This commit is contained in:
parent
00150f769a
commit
88bccae363
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user