infrastructure/op_guide/stolon/nomad_full_backup.md

27 lines
386 B
Markdown
Raw Normal View History

2022-04-23 11:27:52 +00:00
Start by following ../restic
2022-04-14 15:50:17 +00:00
## 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}
```