Go to file
2020-04-15 16:43:16 +02:00
create.sh Added no bootstrap install option. 2020-04-15 16:43:16 +02:00
docker-compose.yml Using systemd to mount volumes and start containers at boot. 2020-03-31 16:03:59 +02:00
install.sh Fixed escaping 2020-04-11 16:23:52 +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 Moved cron tasks to another stack. 2020-02-26 17:36:09 +01:00
start.sh Using systemd to mount volumes and start containers at boot. 2020-03-31 16:03:59 +02:00
volume_list Using systemd to mount volumes and start containers at boot. 2020-03-31 16:03:59 +02: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