Comments - Syntax Errors when trying to do mariabackup

3 years, 2 months ago Rod Carlson

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mariabackup --prepare --target-dir="D:\test_maria_backups"' at line 1

 
3 years, 2 months ago Ian Gilfillan

Are you trying to run mariabackup from inside the mysql client? It's meant to be run from the command line, not from inside the client. As a primer, you may find https://www.youtube.com/watch?v=xB4ImmmzXqU, from the MariaDB Foundation YouTube channel, useful.

 
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.