Go to file
2020-02-26 18:40:14 +01:00
docker-compose.yml Moved cron tasks to another stack. 2020-02-26 17:36:09 +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 Moved cron tasks to another stack. 2020-02-26 17:36:09 +01:00
start_or_update.sh Auto-creation of volumes mountpoint with sudo... 2020-02-26 18:40:14 +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 nettoyer_quotas.sh