Fekide / volumerize

Docker Volume Backups Multiple Backends
https://hub.docker.com/r/fekide/volumerize/
MIT License
8 stars 2 forks source link

How to backup Postgres and Mariadb ath the same time with prepost? #22

Closed Akruidenberg closed 3 years ago

Akruidenberg commented 3 years ago

I have multiple containers running with postgres and Mariadb databases, and wants to make a single job to dump both my mariadb and postgress databases in a single database.

Now, we have separate tags for both mariadb and postgres. I don't know exactly how to integrate this with my Volumerize. Is Volumerize's idea to have seprate containers for this?

Maybe we can make single container with the added databases and env's?

Thanks in advance!

Akruidenberg commented 3 years ago

Do I still need a separate container for this?

sargreal commented 3 years ago

Do I still need a separate container for this?

No, you only need to specify the environment variables for both backup strategies to your liking. The backups from different database-strategies are all saved and imported in different directories inside the selected VOLUMERIZE_SOURCE, so they don't interfere with each other

Akruidenberg commented 3 years ago

Do I still need a separate container for this?

No, you only need to specify the environment variables for both backup strategies to your liking. The backups from different database-strategies are all saved and imported in different directories inside the selected VOLUMERIZE_SOURCE, so they don't interfere with each other

Thanks!