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

Did you find this page helpful?