Docs Menu

Delete an Online Archive

On this page

  • Delete an Online Archive from the UI
  • Delete an Online Archive Through the API
Important
Serverless Instances are in Preview

Serverless instances are in preview and do not support this feature at this time. To learn more, see Serverless Instance Limitations.

You can delete an online archive through the Atlas UI and API. When you remove an online archive, data on the cloud object storage for the online archive is also deleted. Once deleted, data can't be restored.

If you drop a database and/or collection configured for online archive, the data from the collection, if archived, will continue to be available on the cloud object storage. You will incur costs for storage on the cloud object storage. Alternatively, if you delete the cluster, Atlas deletes all the online archives configured for the cluster. This causes any archived data to also be deleted from the cloud object storage.

If all the online archives are deleted, the Data Lake is also deleted and a new Data Lake is created when you create an online archive again.

Once an online archive is deleted, its state moves to Deleted. You can create another online archive for the same database, collection, and fields as the deleted online archive if there is no other online archive for the same database, collection, and fields in Active state.

To delete an online archive, in your Atlas UI:

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
  2. If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
  3. If the Database Deployments page is not already displayed, click Databases in the sidebar.
2
  1. Click the name of the cluster.
  2. Click the Online Archive tab to view the list of online archives, if any, for the cluster.
3

You can:

  • Pause Archive (only if state is Active)
  • Edit Archiving Rule
  • Delete Archive
  • Resume Archive (only if state is Paused)
4
5

To delete an online archive through the API, send a DELETE request to the onlineArchives endpoint with the unique ID of the online archive to delete. To learn more about the API syntax and options, see Delete an Online Archive.

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.