sunetdrive/templates/scriptreceiver/backup_multinode_db.erb.sh

6 lines
160 B
Bash
Raw Normal View History

2023-03-13 15:20:03 +00:00
#!/bin/bash
docker exec mariadb_db_1 /scripts/run_manual_backup_dump.sh
backupdir=/etc/mariadb/backups
chmod 755 ${backupdir}
chown -R script:root ${backupdir}