Backup and Recovery


MongoDB Backups: A cluster can have multiple snapshots. They are created:
  1. 1.
    when a cluster is created, known as initial sync which usually happens in less than 24hs.
  2. 2.
    after a restore.
A snapshot is a copy of the data in the cluster at a certain time. Every 24 hours, a base snapshot is taken, and every Sunday, a full snapshot is taken. We keep snapshots for the last 7 days, so recovery is possible from up to a week ago.
You can restore from any snapshot as long as it was created with the same or older MongoDB patch version.
Snapshots are stored in an IONOS S3 Object Storage buckets in the same region as your database. Databases in regions where IONOS S3 Object Storage is not available will be backed up to eu-central-2.
Warning: If you destroy a MongoDB cluster, all of its snapshots are also deleted.


Recovery is achieved via restore jobs. A restore job is responsible to create and catalog a cluster restoration process. A valid snapshot reference is required for a restore job to recover the database from. The API exposes available snapshots of a cluster.
There must be no other active restore job for the cluster in order to create a new one.
Warning: When restoring a database, it is advised to avoid connections to it until its restore job is complete and the cluster reaches AVAILABLE state.