To run Percona TokuBackup, the backup destination directory must exist, be writable and empty. Once this directory is created, the backup can be run using the following command:
mysql> backup to '/path_to_empty_directory';
But if you try to run this on Percona Server 5.6.28-76.1, you get this error:
mysql> backup to '/backups/test';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'backup to '/backups/test'' at line 1
This is outdated too: /www.percona. com/doc/ percona- server/ 5.6/tokudb/ toku_backup. html
https:/
To run Percona TokuBackup, the backup destination directory must exist, be writable and empty. Once this directory is created, the backup can be run using the following command:
mysql> backup to '/path_ to_empty_ directory' ;
But if you try to run this on Percona Server 5.6.28-76.1, you get this error:
mysql> backup to '/backups/test';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'backup to '/backups/test'' at line 1