Skip to content
Snippets Groups Projects
Commit f352770e authored by Bartłomiej Piotrowski's avatar Bartłomiej Piotrowski
Browse files

borg-client: Replace xtrabackup with mariabackup

parent 04263233
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@
file: path={{mysql_backup_dir}} state=directory owner=root group=root
when: mysql_backup_dir is defined
- name: install xtrabackup for mysql backup
pacman: name=xtrabackup state=installed
- name: remove xtrabackup, mariadb ships its own fork
pacman: name=xtrabackup state=absent
when: mysql_backup_dir is defined
- name: install systemd timers for backup
......
......@@ -5,4 +5,4 @@ backupdir="{{mysql_backup_dir}}"
[[ ! -d "$backupdir" ]] && mkdir -p "$backupdir"
rm -rf "$backupdir"/*
xtrabackup $mysql_opts --backup --target-dir="$backupdir"
mariabackup $mysql_opts --backup --target-dir="$backupdir"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment