Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshuachp/pg-backup-container

Backup a postgresql database via pg_dump to a different volume
https://github.com/joshuachp/pg-backup-container

Last synced: about 9 hours ago
JSON representation

Backup a postgresql database via pg_dump to a different volume

Awesome Lists containing this project

README

        

# pg-backup-container

Backup a PostgreSQL database via pg_dump to a different volume

```
ENV:
- NTFY_URL: url of the Ntfy server
- NTFY_TOPIC: topic to notify on
- HOST: postgres database host
- PORT: postgres database port
- USERNAME: username to use, default to postgres
- PGPASSWORD: password to the postgres database
- BACKUP_DIR: volume to backup into
- BACKUP_COUNT: count of backups to keep in the BACKUP_DIR
- OUTDIR: Directory to store the intermediate file
- PUB_KEY: Public age key to encrypt the backup with
```