[GH-ISSUE #125] Backup all databases #103

Open
opened 2026-02-26 21:34:27 +03:00 by kerem · 3 comments
Owner

Originally created by @BoKKeR on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/125

I understand that this might be more of a homelab feature request than production. Its unlikely that many databases are created in prod

Currently this tool can only backup the SINGLE database which is set in the connection string.

Its not unusual for me to add multiple databases to one postgresql, with this approach I will have to go each time and add a new target database.

I would much more prefer to be able to set a wildcard * and have the tool resolve all databases and back them up each.

Similarly how borgmatic does it https://torsion.org/borgmatic/docs/how-to/backup-your-databases/

postgresql_databases:
    - name: all

Current collection of databases. Most are also created using a pginit container. Adding them to this tool becomes another task. Then updating all the cron jobs, updating all the alerts. Its error prone

Image

Similarly the webhook alerts, from the programming perspective it makes sense to set alerts one by one, but from the users perspective, I want alerts for every database.

Originally created by @BoKKeR on GitHub (Jul 7, 2025). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/125 I understand that this might be more of a homelab feature request than production. Its unlikely that many databases are created in prod Currently this tool can only backup the SINGLE database which is set in the connection string. Its not unusual for me to add multiple databases to one postgresql, with this approach I will have to go each time and add a new target database. I would much more prefer to be able to set a `wildcard *` and have the tool resolve all databases and back them up each. Similarly how borgmatic does it https://torsion.org/borgmatic/docs/how-to/backup-your-databases/ ``` postgresql_databases: - name: all ``` Current collection of databases. Most are also created using a pginit container. Adding them to this tool becomes another task. Then updating all the cron jobs, updating all the alerts. Its error prone ![Image](https://github.com/user-attachments/assets/101be4b8-6601-4990-9a79-6f8deee1e6a4) Similarly the webhook alerts, from the programming perspective it makes sense to set alerts one by one, but from the users perspective, I want alerts for every database.
Author
Owner

@empeekdev commented on GitHub (Aug 18, 2025):

+1

<!-- gh-comment-id:3196956304 --> @empeekdev commented on GitHub (Aug 18, 2025): +1
Author
Owner

@softwaretirol commented on GitHub (Oct 14, 2025):

+1

<!-- gh-comment-id:3403004286 --> @softwaretirol commented on GitHub (Oct 14, 2025): +1
Author
Owner

@ShlomiPorush commented on GitHub (Jan 20, 2026):

+++1

<!-- gh-comment-id:3772149810 --> @ShlomiPorush commented on GitHub (Jan 20, 2026): +++1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#103
No description provided.