2023-03-13 16:20:03 +01: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}
|
2023-03-13 16:33:51 +01:00
|
|
|
find /etc/mariadb/backups/ -mtime +1 -delete
|