Lesson 2: Back Up and Recover an Atlas Shared Tier / Learn

Video Transcript (English)

Hello! In this video, you’ll learn how to back up and restore shared-tier clusters, M2 or M5, by using Atlas Cloud backup.

Atlas automatically backs up a shared cluster 24 hours after it's created. This backup is known as a snapshot. For shared clusters, these automatic snapshots are taken daily.

You must have the Project Owner role in order to manage cloud backups for the clusters in that project.

Let’s view the snapshots of a cluster that was created more than 24 hours ago.

First, we’ll navigate to the Atlas database deployments page and select the cluster.

Then, we’ll view our snapshots, where we see a list of the automatic daily snapshots that were taken after a shared cluster was created. These are listed in chronological order, from the oldest to newest.

Snapshots can be downloaded from Atlas for offline storage beyond the default Atlas retention period. These snapshots can later be used to restore our cluster.

We can also restore a cluster using any of the snapshots listed on the UI with the push of a button.

First we’ll explore how to restore through a manual download. Let’s download the newest snapshot. After downloading the snapshot, you may manually restore it locally. The steps can be found in our documentation.

The second method to restore a shared cluster snapshot does not require a manual download. We can do it directly in the Atlas UI via the click of a button.

We’ll restore this snapshot to an empty M2 cluster named Cluster2-Restore, which is set up in our current project. We select Cluster2-Restore from the Target Cluster menu and type “I Agree”. Then we select Restore.

As you might expect, it can take several minutes to restore a backup depending on its size. So for the purposes of this demonstration, we'll skip to the end of this process. If this is a production environment, we recommend testing and timing the entire process end to end at least once, so you’ll know what to expect.

We navigate back to the database deployments page and locate the Cluster2-Restore cluster, which we see is loading.

Once it’s finished loading, we’ll browse our collections.

We confirm that the sample dataset, which was the content in our snapshot, has been successfully restored and loaded into this cluster.

Well done! In this video, you learned that Atlas automatically takes daily snapshots, or backups, for shared clusters. You learned how to view the daily snapshots for M2 or M5 clusters in the Atlas UI. Finally, you learned how to use daily snapshots to restore a shared cluster through or a manual download and by using the Atlas UI.