Browse Source

readme updates

pull/160/head
Alex Toff 9 months ago
parent
commit
8565289c21
  1. 5
      postgres-backup-s3/README.md

5
postgres-backup-s3/README.md

@ -44,6 +44,11 @@ You can additionally set the `SCHEDULE` environment variable like `-e SCHEDULE="
More information about the scheduling can be found [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules).
### Backup File Name / Path
By default, if `POSTGRES_BACKUP_ALL` is true, the dump file will be put at `<S3_PREFIX=''>/all_<timestamp>.sql.gz`. When using `POSTGRES_DATABASE`, each database listed will be backed up to the object path `<S3_PREFIX=''>/<database>_<timestamp>.sql.gz`.
If you wish to make these filenames static, you can use the `S3_FILE_NAME` variable, which will change these formats to `<S3_PREFIX>/<S3_FILE_NAME>.sql.gz` or `<S3_PREFIX>/<S3_FILE_NAME>_<database>.sql.gz` accordingly.
### Backup All Databases
You can backup all available databases by setting `POSTGRES_BACKUP_ALL="true"`.

Loading…
Cancel
Save