Hello,
I’m trying to perform a straightforward database backup from the command line as a root user:
BACKUP DATABASE test TO ‘./’;
and I’m getting the following error message:
I used version 7.0.13 and it is on-premise. Not Helios.
Why can’t I get a local backup?
memsql> backup database monitoring to “/mnt/backup”;
ERROR 1706 (HY000): Feature ‘Writing a backup to the local file system when running MemSQL as a service’ is not supported by MemSQL.
Well, it looks like you found a bug in the error message. It should not be mentioning “running MemSQL as a service” when you’re running self-hosted. I’ll file a bug for that.
Was the directory writeable to the user running the memsqld process? Maybe there was an error, like that, but the error message was bad.
local_file_system_access_restricted of 0 is expected. That output is coming from the same cluster your getting the “Writing a backup to the local file system” error?
BACKUP is supported in free edition. Send over the report if you get a chance.
The best way to do a backup is to NFS or a blob store (S3). Otherwise, the backup will write itself out to the local disk on each leaf node and you’ll have to manually move the files off the cluster yourself.