chapter seventeen

17 Archiving online with Atlas Online Archive

 

This chapter covers

  • Archiving infrequently accessed data to lower-cost storage
  • Setting archiving rules based on data usage and retention
  • Archiving data from Time Series Collections
  • Accessing archived and live data together
  • Calculating costs associated with querying archived data
  • Restoring archived data back to live cluster

Atlas Online Archive is designed to help manage data storage costs by archiving infrequently accessed data to lower-cost storage. It integrates seamlessly with MongoDB Atlas, allowing you to define custom rules based on data access patterns and retention requirements. The archived data is queryable, ensuring that it remains accessible without the need for full restoration. This service is particularly useful for long-term data storage, compliance, and historical analysis, providing a scalable solution, though it likely sacrifices some performance.

WARNING

The Online Archive is not a substitute for a primary backup solution. This is because the Online Archive is designed primarily for cost-effective storage of infrequently accessed data, not for data recovery purposes. Backups, on the other hand, are comprehensive snapshots of your data intended for recovery after data loss, corruption, or other catastrophic events. Therefore, it's important to maintain a separate, robust backup strategy to ensure data integrity and availability.

17.1 Archiving your data

17.1.1 Ways Atlas archives data

17.1.2 Deleting archived documents

17.2 Initializing Online Archive

17.3 Connecting and querying Online Archive

17.3.1 Querying performance and cost

17.4 Restoring archived data

17.5 Summary