aboutsummaryrefslogtreecommitdiff
path: root/op_guide
diff options
context:
space:
mode:
Diffstat (limited to 'op_guide')
-rw-r--r--op_guide/stolon/nomad_full_backup.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/op_guide/stolon/nomad_full_backup.md b/op_guide/stolon/nomad_full_backup.md
new file mode 100644
index 0000000..574043a
--- /dev/null
+++ b/op_guide/stolon/nomad_full_backup.md
@@ -0,0 +1,26 @@
+Start by following ../backup-minio
+
+## Garbage collect old backups
+
+```
+mc ilm import deuxfleurs/${BUCKET_NAME} <<EOF
+{
+ "Rules": [
+ {
+ "Expiration": {
+ "Days": 62
+ },
+ "ID": "PurgeOldBackups",
+ "Status": "Enabled"
+ }
+ ]
+}
+EOF
+```
+
+Check that it has been activated:
+
+```
+ mc ilm ls deuxfleurs/${BUCKET_NAME}
+```
+