feat(ops): automate backups and private CV benchmarks
This commit is contained in:
+7
-3
@@ -236,9 +236,13 @@ MYSQL_PWD='<password>' mariadb-dump \
|
||||
|
||||
### Retention
|
||||
|
||||
**Nothing is deleted automatically.** Backups accumulate in `BACKUP_DIR` until you remove them. Watch
|
||||
disk usage and prune deliberately — a suggested policy is to keep every backup for 30 days and one per
|
||||
month after that, but the script does not enforce it and will not delete your files.
|
||||
Verified top-level recovery sets are retained for 30 days and the first complete set in each month is
|
||||
copied into `monthly/`; the newest 12 monthly sets are retained. Configure
|
||||
`BACKUP_DAILY_RETENTION_DAYS` and `BACKUP_MONTHLY_RETENTION_COUNT` to change those positive integer
|
||||
limits. Paths outside the fixed backup directory and monthly naming contract are never pruned.
|
||||
|
||||
Set `BACKUP_RCLONE_REMOTE` to an encrypted rclone remote to copy each current recovery set off-host.
|
||||
See [`docs/operations/google-drive-backups.md`](../docs/operations/google-drive-backups.md).
|
||||
|
||||
## Restoring the database
|
||||
|
||||
|
||||
Reference in New Issue
Block a user