3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-10 03:00:08 +01:00

feat: add BACKUP_NO_CRON config to allow running the backup without cron schedule

This commit is contained in:
kolaente
2024-02-13 16:41:27 +01:00
parent 5982f1ef07
commit 49510a6179
2 changed files with 41 additions and 25 deletions

View File

@@ -60,6 +60,12 @@ Check out [crontab.dev](https://crontab.dev/) for a nice explanation of the sche
Default: `0 */6 * * *` (every 6 hours)
### `BACKUP_NO_CRON`
If provided, runs the backup only once without a cron schedule. This is useful for one-off backups of testing if the configuration works.
Default: `false`
### `BACKUP_MAX`
How many backups to keep. If more backups are stored in the backup folder, the oldest one will be removed until there