dataset/seed/mariadb/templates/risotto_backup

8 lines
216 B
Text
Raw Normal View History

2023-06-23 08:12:05 +02:00
#!/bin/bash -e
2023-06-23 08:12:05 +02:00
rm -rf {{ general.backup_dir }}
mkdir -p {{ general.backup_dir }}
mariabackup --backup --target-dir={{ general.backup_dir }} --user=root --password={{ general.mariadb.mariadb_root_password }}
exit 0