infrastructure/op_guide/stolon/nomad_full_backup.md

392 B

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}