You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
New to KubeDB? Please start here.
Backup & Restore MySQL Using Stash
KubeDB uses Stash to backup and restore databases. Stash by AppsCode is a cloud native data backup and recovery solution for Kubernetes workloads. Stash utilizes restic to securely backup stateful applications to any cloud or on-prem storage backends (for example, S3, GCS, Azure Blob storage, Minio, NetApp, Dell EMC etc.).
How to use Stash
In order to backup MySQL database using Stash, follow the following steps:
Install Stash Enterprise: At first, you have to install Stash Enterprise Edition. Please, follow the steps from here.
Install MySQL Addon: Then, you have to install MySQL addon for Stash. Please, follow the steps from here.
Understand the Backup and Restore Flow: Now, you can read about how MySQL backup and restore works in Stash from here.
Get Started: Finally, follow the step by step guideline to backup or restore your desired database version from here.