This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Syntax Errors when trying to do mariabackup

Hello,

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