docker-postgres-backup-local icon indicating copy to clipboard operation
docker-postgres-backup-local copied to clipboard

Backup PostgresSQL to local filesystem with periodic backups and rotate backups.

Results 24 docker-postgres-backup-local issues
Sort by recently updated
recently updated
newest added

I leave an example of a small DB: ![image](https://user-images.githubusercontent.com/59846928/92412091-ef0bd900-f120-11ea-96da-9ac132437c66.png) The last backup is with the new configuration and, as can be seen, it increases the size by 166%. ![image](https://user-images.githubusercontent.com/59846928/92412132-182c6980-f121-11ea-9bb4-2db0f2694108.png) Then...

enhancement

I'd like to have an option to check the last backup and if its the same, then discard the current one. It saves a bit of space, and it will...

enhancement

I was wondering if through a Dockerfile or other means if there was a way to change the UID/GID mappings of the postgres user/group?

question

It would be nice to check backup errors and monitor backup status to healthchecks.io in cloud or self-hosted using curl or wget. [https://stackoverflow.com/questions/6341321/how-to-check-if-postgresql-backup-was-successful](https://stackoverflow.com/questions/6341321/how-to-check-if-postgresql-backup-was-successful) [https://healthchecks.io/docs/bash/](https://healthchecks.io/docs/bash/) [https://healthchecks.io/docs/signaling_failures/](https://healthchecks.io/docs/signaling_failures/)

question

Is there any reason not to use [pigz](https://zlib.net/pigz/)? It's an apt-get install away, it's perfectly gzip compatible, and it's multi-core so vastly faster.

enhancement

Updated script to take advantage of functions and for loops to clean up the code

I accidentally configured backups to a folder which was a SMB mount on my linyux box. And the backups ran, but of course at the end of the script it...

enhancement

I have this variables set to 0 BACKUP_KEEP_WEEKS | Number of weekly backups to keep before removal. Defaults to 4. BACKUP_KEEP_MONTHS | Number of monthly backups to keep before removal....

enhancement

Allow to disable the gzip compression when using cluster mode YES and better document the cluster mode. Reported by @JohnTheNerd: > [...] I think what tripped me up is that...

enhancement

no file backuped, the container logs ``` stderr: 2024/08/24 18:00:28 Running version: v0.0.10 stderr: 2024/08/24 18:00:28 new cron: @weekly stderr: 2024/08/24 18:00:28 Opening port 8085 for health checking stderr: 2024/08/25...