---
title: "Enhancing Atlas Online Archive With Data Expiration And Scheduled Archiving"
description: "Atlas Online Archive moves infrequently accessed data from a cluster to a MongoDB-managed object store while enabling unified queries across both tiers. A new data expiration feature lets users set a deletion threshold for archived data, configurable from 7 to 9,125 days through the Atlas UI or Admin API, and rules can be edited after creation; previously, the only way to remove data was deleting the entire archive. Once data is deleted from the archive, it cannot be recovered, so rules must be defined carefully. Scheduled archiving addresses performance concerns by allowing users to define a recurring window—daily, weekly, or monthly—with a minimum duration of two hours, replacing the previous five-minute interval that could overload clusters during peak times. Users can edit the archive rule to specify both when to archive and when to delete, and both features are in preview to improve operational efficiency for Atlas customers."
---

# Enhancing Atlas Online Archive With Data Expiration And Scheduled Archiving

[MongoDB](https://yomu.fyi/company/mongodb) · Jun 7, 2022

**Type:** Announcement

## Summary

Atlas Online Archive moves infrequently accessed data from a cluster to a MongoDB-managed object store while enabling unified queries across both tiers. A new data expiration feature lets users set a deletion threshold for archived data, configurable from 7 to 9,125 days through the Atlas UI or Admin API, and rules can be edited after creation; previously, the only way to remove data was deleting the entire archive. Once data is deleted from the archive, it cannot be recovered, so rules must be defined carefully. Scheduled archiving addresses performance concerns by allowing users to define a recurring window—daily, weekly, or monthly—with a minimum duration of two hours, replacing the previous five-minute interval that could overload clusters during peak times. Users can edit the archive rule to specify both when to archive and when to delete, and both features are in preview to improve operational efficiency for Atlas customers.

## Context

MongoDB Atlas Online Archive is a feature that moves infrequently accessed data to a managed object store while allowing unified queries. This post announces two new capabilities: data expiration, which allows setting a deletion threshold for archived data, and scheduled archiving, which lets users define a recurring window for the archiving process to avoid cluster performance issues during peak times.

## Approach / What changed

Data expiration is configured by setting a threshold of 7 to 9,125 days via the Atlas UI or Admin API, with rules editable after creation. Scheduled archiving is configured by defining a recurring window (daily, weekly, or monthly) with a minimum of two hours, also editable.

## Takeaways

- Data expiration allows deletion of archived data after a configurable period from 7 to 9,125 days, with no recovery after deletion.
- Scheduled archiving lets users define a recurring window (daily, weekly, monthly) of at least two hours to run the archiving process, replacing the default five-minute interval.
- Both features are in preview and can be configured through the Atlas UI or Admin API, with rules editable after creation.

## FAQ

### What is the minimum and maximum expiration period for archived data?

The minimum is 7 days and the maximum is 9,125 days, configurable via the Atlas UI or Admin API.

### Can I edit the archiving or expiration rules after creation?

Yes, both archiving and expiration rules can be edited after creation.

### What happens if I delete data from the archive?

Once data is deleted from the archive, it cannot be recovered, so rules must be defined carefully.

**Tags:** [Data Expiration](https://yomu.fyi/topic/data-expiration), [MongoDB](https://yomu.fyi/topic/mongodb), [Online Archive](https://yomu.fyi/topic/online-archive), [Scheduled Archiving](https://yomu.fyi/topic/scheduled-archiving)

- Source: [MongoDB](https://www.mongodb.com/company/blog/product-release-announcements/enhancing-atlas-online-archive-data-expiration-scheduled-archiving)
- Source URL: https://www.mongodb.com/company/blog/product-release-announcements/enhancing-atlas-online-archive-data-expiration-scheduled-archiving
- Ingested by Yomu: 2026-09-20T07:52:11.280Z

[Read original post](https://www.mongodb.com/company/blog/product-release-announcements/enhancing-atlas-online-archive-data-expiration-scheduled-archiving)
