This docker image is used to backup and restore whitewater.guide databases.
Based on https://github.com/whitewater-guide/postgres
Available via https://github.com/orgs/whitewater-guide/packages/container/package/pg_dump_restore
S3_BUCKET
- bucket where backups are stored. Just bucket name, without protocolS3_PREFIX
- s3 path prefix ending with/
, defaults tov3/
PGHOST
- postgres host to backup from/restore toPGUSER
- postgres userPOSTGRES_PASSWORD
- postgres password, note different style (POSTGRES_
notPG
)
SKIP_PARTITIONS
- if set, won't archive measurements partitionsSKIP_SYNAPSE
- if set, won't backup synapse databaseKEEP_BACKUP_FILES
- if set, won't delete backup files, so the can be used immediately to restore to different database
SKIP_GORGE
- if set, won't restore gorge databaseSKIP_SYNAPSE
- if set, won't restore synapse databaseSKIP_DOWNLOAD
- if set, won't download dump from s3 and will use local files created by backup script