Cosmos DB Backup Retention

For protected Cosmos DB accounts, Veeam Backup for Microsoft Azure retains restorable timestamps for the number of days defined in backup target settings as described in section Creating Cosmos DB Backup Policies.

Every 8 hours, Veeam Backup for Microsoft Azure runs a configuration session to create a new restorable timestamp. If Veeam Backup for Microsoft Azure detects that a timestamp is older than the specified retention period, Veeam Backup for Microsoft Azure removes it from the configuration database. For more information on the timestamp retention process, see Microsoft Docs.

During every configuration session, Veeam Backup for Microsoft Azure also checks whether any of the protected Cosmos DB accounts have been removed from Microsoft Azure. If such an account is detected, it will acquire the Deleted status on the Protected Data page in the Veeam Backup for Microsoft Azure Web UI, and you will still be able to restore this account to any available timestamp within the specified retention period. However, Veeam Backup for Microsoft Azure will automatically remove from the configuration database all the timestamps created for the account as soon as the retention period ends.

Important

When a Cosmos DB for PostgreSQL account is deleted from Microsoft Azure, Veeam Backup for Microsoft Azure instantly removes all the timestamps created for this account from the configuration database and excludes the account from the list of protected resources on the Protected Data page. As a result, you will no longer be able to restore this account — unless you have protected it with the backup to a repository enabled.

Backup to Repository Retention

If you enable backup to a repository for a backup policy, Veeam Backup for Microsoft Azure retains restore points for the number of days defined in backup scheduling settings as described in section Creating Cosmos DB Backup Policies.

The forever forward incremental backup method is not implemented for Cosmos DB for PostgreSQL accounts — during every backup session Veeam Backup for Microsoft Azure creates a full backup in the regular backup chain. If Veeam Backup for Microsoft Azure detects an outdated restore point in a standard or an archive backup repository, Veeam Backup for Microsoft Azure removes this restore point from the backup chain.

Cosmos DB Backup Retention