nullart / debian-ubuntu-mariadb-backup

This repository contains a few scripts for automating backups with mariabackup (a fork of Percona Xtrabackup)
46 stars 17 forks source link

DON'T WORK - mariabackup based on MariaDB server 10.3.7-MariaDB Linux (x86_64) #7

Open pata2004 opened 6 years ago

pata2004 commented 6 years ago

DON'T WORK - mariabackup based on MariaDB server 10.3.7-MariaDB Linux (x86_64)

/usr/local/bin/backup-mysql.sh

Backup successful! Backup created at /backups/mysql/Fri/full-06-22-2018_18-39-45.xbstream

/usr/local/bin/backup-mysql.sh

Backup successful! Backup created at /backups/mysql/Fri/incremental-06-22-2018_18-40-56.xbstream

extract-mysql.sh *.xbstream

extract-mysql.sh: It looks like something went wrong. Please check the "extract-progress.log" file for additional information

vim /backups/mysql/Fri/extract-progress.log

mkdir: created directory './restore/incremental-06-22-2018_18-40-56' ^Gmbstream: Can't create/write to file '/backups/mysql/Fri//xtrabackup_info.qp' (Errcode: 17 "File exists") mbstream: failed to create file.

cd /backups/mysql/"$(date +%a)"/restore

ll

full-06-22-2018_18-18-35 full-06-22-2018_18-20-00 full-06-22-2018_18-39-45 incremental-06-22-2018_18-40-56

prepare-mysql.sh

Exactly one full backup directory is required.

backamblock commented 5 years ago

any news on this? i'm using mariadb 10.3 as well. will it work?

lexelby commented 5 years ago

That appears to be this bug: https://jira.mariadb.org/browse/MDEV-18438