aboutsummaryrefslogtreecommitdiff
path: root/op_guide/stolon/nomad_full_backup.md
blob: 2fb58228f3bc050c0c9e4df524fdd3ad020a94f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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}
```