15 lines
459 B
Markdown
15 lines
459 B
Markdown
# Backups and maintenance
|
|
|
|
Targets: `database`, `uploads`, `keys`, `full`. Archives are compressed with zstd or brotli and live under `data/backups/`. Only the primary administrator can download them.
|
|
|
|
## CLI
|
|
|
|
```bash
|
|
molodetz backups list
|
|
molodetz backups run --target database
|
|
molodetz backups prune --keep 14 --dry-run
|
|
molodetz system prune --dry-run
|
|
```
|
|
|
|
The maintenance script `bin/maintenance.sh` runs every prune and shows disk usage before and after.
|