15 lines
529 B
Org Mode
15 lines
529 B
Org Mode
* Restic - backups
|
|
|
|
https://restic.readthedocs.io/en/stable/
|
|
|
|
- init repo :: ~restic init --repo <path>~
|
|
- backup :: ~restic -r <path> --verbose backup <path>~
|
|
- restore :: ~restic -r <path> restore <ID/latest> --target /tmp/restore-work~
|
|
- restore latest via path :: ~restic -r <path> restore latest --path "somepath"~
|
|
- list snapshots :: ~restic -r <path> snapshots~
|
|
- copy snapshots between repos :: with filtering
|
|
#+begin_src bash
|
|
restic -r <sourcerepo> copy --repo2 <targetrepo> --path <path> <ID/latest>
|
|
#+end_src
|
|
|