L
L
lxfr2016-12-05 13:36:51
Database
lxfr, 2016-12-05 13:36:51

How to conveniently manage backups and deployment of databases in Docker projects?

For example, I have 20 projects working in Docker, and I would like to backup databases in a convenient way (and import them and preferably deploy), is there already some kind of solution? At least within 1 project. There is no desire to manually import / backup them. Tell us about your decision.
PS Now the databases are stored as data-volume created if they are not there, and db import goes there when the service starts.
UP1: now I found this https://hub.docker.com/r/dockercloud/dockup/ I'm looking at what's what and whether the solution as "standard" is suitable for different projects.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-05
@MaxDukov

what prevents to make 1 more container that will start together with the project and
1. import the database if the data in the database has a version less than in the backup script
2. backup the database using cron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question