%echo "#!/bin/bash -e" mkdir -p %%backup_dir mariabackup --backup --target-dir=%%backup_dir --user=root --password=%%mariadb_root_password exit 0