T
Twenty4mo ago
Dorahee

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
thomast4mo ago
There is no special guidelines for this. You can look into pg_dump for example
Dorahee
DoraheeOP4mo ago
@thomast Thank you for your response. Does this mean I need to backup all my PG's Database?
thomast
thomast4mo ago
you have different databases that manage twenty? If yes, you should indeed
Dorahee
DoraheeOP4mo ago
There is only one PG container. So I was wondering if it backs up all the databases in PG.
thomast
thomast4mo ago
yep you only need this one!
Dorahee
DoraheeOP4mo ago
thanks you @thomast

Did you find this page helpful?