How to take a DB backup?

I'm running self-hosted via docker-compose, how do I make a backup of my DB in postgresql and restore it on a new instance?
6 Replies
thomast
thomast2w ago
There is no special guidelines for this. You can look into pg_dump for example
Dorahee
DoraheeOP2w ago
@thomast Thank you for your response. Does this mean I need to backup all my PG's Database?
thomast
thomast2w ago
you have different databases that manage twenty? If yes, you should indeed
Dorahee
DoraheeOP2w ago
There is only one PG container. So I was wondering if it backs up all the databases in PG.
thomast
thomast2w ago
yep you only need this one!
Dorahee
DoraheeOP2w ago
thanks you @thomast
Want results from more Discord servers?
Add your server