2023-06-23 08:12:05 +02:00
|
|
|
#!/bin/bash -e
|
2023-02-27 12:23:45 +01:00
|
|
|
|
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 }}
|
2023-02-27 12:23:45 +01:00
|
|
|
|
|
|
|
exit 0
|