Is there an option to backup and restore DB using Kubernetes? I’ve tried entering the container and executing manually the backup and restore commands. Is there a way to do the restore automatically when the pod is created? I’m using `memsql/cluster-in-a-box’.
There’s nothing specific that I know of in Kubernetes to do a backup and restore with SingleStore DB. You can use any external job control system, like a cron job, and have it connect to your cluster and run the BACKUP command.
Thank you for making that clear. Is it possible to mount a volume and use that as the main storage for DBs? Working with volumes lets us start containers with the latest version of DBs in case of failure. Is it possible to implement it that way?