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 https://www.youtube.com/watch?v=xB4ImmmzXqU, from the MariaDB Foundation YouTube channel, useful.