aboutsummaryrefslogblamecommitdiff
path: root/op_guide/stolon/nomad_full_backup.md
blob: 2fb58228f3bc050c0c9e4df524fdd3ad020a94f6 (plain) (tree)
1
                            
























                                             
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}
```