aboutsummaryrefslogtreecommitdiff
path: root/op_guide/restic/README.md
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-06 13:16:22 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-06 13:16:50 +0200
commitceae80d87cf9974bf0a69bd247fd35f416b9f8a9 (patch)
treefc621426d7515c666f2eb1075158045246b51381 /op_guide/restic/README.md
parent0e81c9f23b320eae5036e834ed375adfc987739f (diff)
downloadinfrastructure-ceae80d87cf9974bf0a69bd247fd35f416b9f8a9.tar.gz
infrastructure-ceae80d87cf9974bf0a69bd247fd35f416b9f8a9.zip
Use Tricot certificates instead of self-signed ones
Diffstat (limited to 'op_guide/restic/README.md')
-rw-r--r--op_guide/restic/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/op_guide/restic/README.md b/op_guide/restic/README.md
index cf67d92..f8fb658 100644
--- a/op_guide/restic/README.md
+++ b/op_guide/restic/README.md
@@ -167,6 +167,11 @@ Now we need a service that runs:
restic backup .
```
+
+Find an existing .hcl declaration that uses restic in this repository or in the Deuxfleurs/nixcfg repository
+to use it as an example.
+
+
And also that garbage collect snapshots.
I propose:
@@ -174,5 +179,8 @@ I propose:
restic forget --prune --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y
```
-Find an existing .hcl declaration that uses restic in this repository or in the Deuxfleurs/nixcfg repository
-to use it as an example.
+Also try to restore a snapshot:
+
+```
+restic restore <snapshot id> --target /tmp/$SERVICE_NAME
+```