summaryrefslogtreecommitdiffstats
path: root/roles/mariadb/files/dump_mariadb.sh
blob: 94ff66b6280e9111044118b90e150862299247c0 (plain)
1
2
3
4
5
#!/bin/bash
DIR=/var/backups/mariadb/
[ -d $DIR ] || mkdir -p $DIR

mysqldump --all-databases > $DIR/dump.sql