Syntax Errors when trying to do mariabackup


I am experiencing syntax errors when trying to do a mariabackup. I have full admin rights to the database.

We have MariaDB version 10.3.10 running on Windows Server 2016 64-bit.

Please see an example of my script:

mariabackup --backup --target-dir="D:\test_maria_backups" --user=abc123 --password=def456

What could I be doing wrong?

Thanks for your help,

Answer Answered by Ian Gilfillan in this comment.

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, from the MariaDB Foundation YouTube channel, useful.


Comments loading...
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.