restic: fix restore example (#6240)

beep
Peter Babič 2021-07-17 15:10:38 +02:00 committed by GitHub
parent dad79c77e0
commit 3f4d0a37fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@
- Restore a specific backup snapshot to a target directory: - Restore a specific backup snapshot to a target directory:
`restic --repo {{path/to/repository}} restore {{snapshot_id}} {{path/to/target}}` `restic --repo {{path/to/repository}} restore {{latest|snapshot_id}} --target {{path/to/target}}`
- Restore a specific path from a specific backup to a target directory: - Restore a specific path from a specific backup to a target directory:
`restic --repo {{path/to/repository}} --include {{path/to/restore}} --target {{path/to/target}} restore {{snapshot_id}}` `restic --repo {{path/to/repository}} restore {{snapshot_id}} --target {{path/to/target}} --include {{path/to/restore}}`
- 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: