Forum Discussion
Restore Azure Cosmos DB
It depends on the backup mode that was enabled before the database was deleted.
If the account was using continuous backup, you can use point-in-time restore, as long as the delete time is inside the configured retention window. The restore normally goes to a new account.
If the account was using periodic backup, it is more limited. In that case I would open an Azure support request quickly and give them the account name, database/container name, region, and approximate delete time. Recovery is only possible if Microsoft still has a usable backup inside the retention window.
So the first two checks are: backup mode and retention period. If it was deleted more than 7 days ago, the configured retention window is the deciding factor.
Docs:
https://learn.microsoft.com/azure/cosmos-db/continuous-backup-restore-introduction
https://learn.microsoft.com/azure/cosmos-db/restore-account-continuous-backup
https://learn.microsoft.com/azure/cosmos-db/periodic-backup-restore-introduction