Serverless Instance Backups
Atlas takes snapshots of Serverless instances using the native snapshot capabilities of the Serverless instances's cloud service provider.
Warning
If you delete a serverless instance, Atlas deletes all its associated backups.
Atlas offers the following backup options for Serverless instances:
Option | Description |
---|---|
Serverless Continuous Backup | Atlas takes incremental snapshots of the data in your
Serverless instance every six hours and lets you restore the
data from a selected point in time within the last 72 hours.
Atlas also takes daily snapshots and retains these daily
snapshots for 35 days. To learn more, see
Serverless Instance Costs. |
Basic Backup | Atlas takes incremental snapshots of the data in your
Serverless instance every six hours and retains only the two
most recent snapshots. You can use this option for free. |
To learn more, see Configure Serverless Instance Backup.
Limitations
You can't disable backup of Serverless instances.
You can't download Serverless instance snapshots.
Custom policies are not supported for Serverless instance snapshots. Atlas always takes snapshots every six hours.
If you require finer-grained backups, consider migrating to a dedicated cluster.
Atlas doesn't support on-demand snapshots for Serverless instances.
You can't restore snapshots from Shared clusters, dedicated clusters, or from Cloud Manager to Serverless instances.
Required Access
You must have Project Read Only
access to the project to view
Serverless instance snapshots.
View Serverless Instance Snapshots
Atlas displays existing snapshots on the Snapshots page.
To view your snapshots:
View Snapshots
To return all cloud backup snapshots for the specified serverless instance in your project using the Atlas CLI, run the following command:
atlas serverless backups snapshots list <clusterName> [options]
To return the details for the specified snapshot for your project using the Atlas CLI, run the following command:
atlas serverless backups snapshots describe [options]
To learn more about the syntax and parameters for the previous commands, see the Atlas CLI documentation for atlas serverless backups snapshots list and atlas serverless backups snapshots describe.
View Snapshot Status
To watch the specified snapshot in your project until it reaches a completed or failed status using the Atlas CLI, run the following command:
atlas serverless backups snapshots watch [options]
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas serverless backups snapshots watch.
In Atlas, go to the Clusters page for your project.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
If it's not already displayed, click Clusters in the sidebar.
The Clusters page displays.
Go to the Backup page for your cluster.
Click your cluster's name.
Click the Backup tab.
If the cluster has no Backup tab, then Atlas backups are disabled for that cluster and no snapshots are available. You can enable backups when you scale the cluster.
The Backup page displays.
Atlas displays existing snapshots in the All Snapshots table. From this table, you can restore your existing snapshots.
The Atlas Administration API provides different endpoints for retrieving one or all snapshots from a given serverless cluster.