On-demand backups can be used to back up your MongoDB clusters before an important event like an application upgrade, MongoDB version upgrade, etc.
On-demand backups are not removed automatically from the system. Please use the backup UI to delete on-demand backups that are no longer needed.
To create an on-demand backup, please follow these steps:
Step 1: Visit the details page of the cluster you wish to back up, click on the Backup & Restore menu option and choose "Backup":
Step 2: By default, the On-Demand tab will be activated. Start by entering a name for the backup. We always encourage good naming conventions so that these entities are easy to remember. You can also add a comment (max 100 characters) to your backup.
Step 3: If you're backing up a replica set, we also give you the option of triggering the backup on the Secondary or Primary. By default, backups are triggered on the Secondary.
After you've configured the details of your backup, click the "Backup" button and a job will be triggered for your new backup. It should take anywhere from 5 minutes and up depending on the type of cluster and the amount of data in the cluster.
Updated about 4 years ago