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 MongoDB 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 MongoDB 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 MongoDB Addon: Then, you have to install MongoDB addon for Stash. Please, follow the steps from here.
Understand the Backup and Restore Flow: Now, you can read about how MongoDB 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.