Go to file
2019-11-06 15:53:27 +01:00
crontab-example Initial commit. 2019-06-25 18:08:17 +02:00
docker-compose.yml Added building from git repos. Added launch script with secrets retrieval. 2019-07-11 16:53:30 +02:00
nettoyer_quotas.sh Added max number of days to keep dumps. Improved launch script to retrieve relevant secrets, based on hostname and instance name. 2019-11-06 15:53:27 +01:00
README Initial commit. 2019-06-25 18:08:17 +02:00
start_or_update.sh Added max number of days to keep dumps. Improved launch script to retrieve relevant secrets, based on hostname and instance name. 2019-11-06 15:53:27 +01:00

Why ?
pour centraliser la sauvegarde et l'administration des BDD
 
Si première utilisation :

docker network create mysqlnet
docker volume create --name mysql-server_data
docker volume create --name mysql-server_dumps
rsync -itrlpgovDHXP var_lib_mysql/* /var/lib/docker-latest/volumes/mysql-server_data/_data/
chcon -Rt svirt_sandbox_file_t /var/lib/docker-latest/volumes/mysql-server_data/_data/
chcon -Rt svirt_sandbox_file_t /var/lib/docker-latest/volumes/mysql-server_dumps/_data/

Utilisation :

Les droits des fichiers doivent être corrigés avant de lancer la stack avec docker-compose up -d :
chcon -u system_u -r object_r -t svirt_sandbox_file_t crontab
chcon -u system_u -r object_r -t svirt_sandbox_file_t nettoyer_quotas.sh