This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/op_guide/stolon/nomad_full_backup.md

386 B

Start by following ../restic

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}