Comments - Full Backup and Restore with Mariabackup

4 years, 2 months ago William Wright

mysql Ver 15.1 Distrib 10.3.12-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 mariabackup based on MariaDB server 10.3.12-MariaDB debian-linux-gnu (x86_64)

Kept running into errors similar to the following:

For me a "successful" backup required sudo -u mysql mariabackup .....

2 years, 7 months ago Juan Vera

Hello William,

The OS user running MariaBackup needs to have permission to write to the target directory. For example any OS user can run it specifying the target directory as a directory under their home directory.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.