Comments - Full Backup and Restore with Mariabackup
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.
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: https://dba.stackexchange.com/questions/192742/os-error-13-when-running-mariabackup-as-non-mysql-user?rq=1
For me a "successful" backup required sudo -u mysql mariabackup .....
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.