Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joshuachp/pg-backup-container
- Owner: joshuachp
- License: mit
- Created: 2024-02-19T14:47:39.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-25T14:34:39.000Z (9 months ago)
- Last Synced: 2024-04-19T19:02:41.071Z (7 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```