#!/bin/bash -e
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