mirror of
https://github.com/ditkrg/db-backup-s3.git
synced 2026-01-25 07:16:46 +00:00
breaking change: if SCHEDULE is not set, run backup and then exit
This commit is contained in:
@@ -26,7 +26,7 @@ pg_backup_s3:
|
||||
POSTGRES_PASSWORD: password
|
||||
```
|
||||
- Images are tagged by the major PostgreSQL version they support: `9`, `10`, `11`, `12`, or `13`.
|
||||
- The `SCHEDULE` variable determines backup frequency. See go-cron schedules documentation [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules).
|
||||
- The `SCHEDULE` variable determines backup frequency. See go-cron schedules documentation [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules). Omit to run the backup immediately and then exit.
|
||||
- If `PASSPHRASE` is provided, the backup will be encrypted using GPG.
|
||||
- Run `docker exec <container name> sh backup.sh` to trigger a backup ad-hoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user