Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML Services
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex StoreDoc
  • Getting started
    • Resource relationships
    • Networking in Yandex StoreDoc
    • Quotas and limits
    • Storage in Yandex StoreDoc
    • Backups
    • Replication and fault tolerance
    • Sharding
    • Users and roles
    • Maintenance
    • Supported clients
    • Yandex StoreDoc settings
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Creating backups
  • Storing backups
  • Checking backup recovery
  1. Concepts
  2. Backups

Backups in Yandex StoreDoc

Written by
Yandex Cloud
Updated at September 25, 2025
  • Creating backups
  • Storing backups
  • Checking backup recovery

Yandex StoreDoc supports automatic and manual database backups.

Yandex StoreDoc allows you to restore your cluster to any state (Point-in-Time-Recovery, PITR) in the time interval between the oldest backup and the archiving of the most recent oplog collection. For this purpose, the backup selected as the starting point of recovery is updated with entries from the cluster oplog.

When creating backups and restoring data from them to a given point in time, keep the following in mind:

  • The oplog is archived in a running cluster a few times a minute, and then uploaded to object storage.

  • It takes some time to create and upload an oplog archive to object storage. This is why the cluster state stored in the object storage may differ from the actual one.

To use PITR, you must disable the sharding mechanism in the cluster: PITR works only for a cluster with a single replica set.

To restore a cluster from a backup, follow this guide.

Creating backupsCreating backups

You can create backups either automatically or manually; in both cases, you get a full backup of all databases.

For sharded clusters, two backups are created: a sharded one and a non-sharded one. The sharded backup displays a larger size which includes:

  • Backup size for mongoinfra or mongocfg type hosts.
  • Total size of all non-sharded backups. This total is counted towards the overall size of a sharded backup, but technically non-sharded backups do not take up extra storage space as part of a sharded backup.

You can restore only a non-sharded cluster from a non-sharded backup. From a sharded backup, you can restore a cluster with standard or advanced sharding, no matter what sharding type was used in the original cluster. The restored cluster's shards must match the original cluster's shards at the time of creating the backup.

All cluster data is automatically backed up every day. You cannot disable automatic backups. However, when creating or editing a cluster, you can set the following parameters for automatic backups:

  • Retention time.
  • Time interval during which the backup starts. Default time: 22:00 - 23:00 UTC (Coordinated Universal Time).

After a backup is created, it is compressed for storage. To find out its exact size, request a list of backups.

Backups are only created on running clusters. If not using your Yandex StoreDoc cluster 24/7, look up the settings to make sure the backup is taking place when the cluster is running.

For more information about creating a backup manually, see Managing backups.

Storing backupsStoring backups

Storing backups in Yandex StoreDoc:

  • Backups are stored in Yandex internal storage as logical dumps and are encrypted using GPG. Each cluster has its own encryption keys.

  • The retention time for backups of an existing cluster depends on the method used to create such backups:

    • Automatic backups are stored for 7 days by default. When creating a cluster or editing its settings, you can specify a different retention period of between 7 and 35 days.

    • Manually created backups are stored with no time limit.

  • After you delete a cluster, all its backups are kept for seven days.

  • Backup storage is not subject to quotas or limits for cluster storage space.

  • Backups are stored in object storage and do not take up space in cluster storage. If there are N free GB of space in the cluster, the storage of the first N GB of backups is free of charge.

    For more information, see Pricing policy.

Checking backup recoveryChecking backup recovery

To test how backup works, restore a cluster from a backup and check the integrity of your data.

Was the article helpful?

Previous
Storage in Yandex StoreDoc
Next
Replication and fault tolerance
© 2025 Direct Cursus Technology L.L.C.