Go to file
2020-02-22 21:25:29 +01:00
crontab-example Initial commit. 2019-06-25 18:08:17 +02:00
docker-compose.yml Modified to use bootstrap archive. 2020-02-22 21:25:29 +01: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 Modified to use bootstrap archive. 2020-02-22 21:25:29 +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