aboutsummaryrefslogtreecommitdiff
path: root/op_guide/stolon/nomad_full_backup.md
blob: 574043a6b5a3a4e6f2825665baca6492c719fe76 (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 ../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}
```