Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 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
    • High availability clusters
    • Sharding
    • Host types
    • 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 a backup
  • Storing a backup
  • Recovery from a backup
  • PITR in Yandex StoreDoc
  1. Concepts
  2. Backups

Backups in Yandex StoreDoc

Written by
Yandex Cloud
Updated at July 6, 2026
View in Markdown
  • Creating a backup
  • Storing a backup
  • Recovery from a backup
  • PITR in Yandex StoreDoc

Yandex StoreDoc supports automatic and manual database backups.

For clusters running an unsupported DBMS version, restoring from backups is not available.

Creating a backupCreating a backup

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 once a 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. The default value is 22:00 - 23:00 UTC (Coordinated Universal Time).

Once created, a backup 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, check the settings to make sure that backups take place during the cluster's active hours.

Learn about creating manual backups in Managing backups.

Storing a backupStoring a backup

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 way they were created:

    • 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.

    • Manual backups are stored with no time limit.

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

  • Quotas and limits for cluster storage do not apply to backup storage.

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

    For more information, see Pricing policy.

Recovery from a backupRecovery from a backup

Restoring a cluster from a backup creates a new cluster with that backup’s data. You need to specify all the cluster's settings (except the cluster type), just as when creating a new cluster. If your folder lacks resources to create such a cluster, you will not be able to recover it from a backup. The average restore speed is 10 MBps.

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

Tip

Conduct scheduled tests of cluster recovery from backups.

PITR in Yandex StoreDocPITR in Yandex StoreDoc

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.

For example, if a backup operation completed on August 10, 2020, at 12:00:00 UTC, it is now August 15, 2020, 19:00:00 UTC, and the latest oplog was saved on August 15, 2020, at 18:50:00 UTC, the cluster can be restored to any of its states starting from August 10, 2020, 12:00:01 UTC through August 15, 2020, 18:50:00 UTC.

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.

Warning

PITR is not supported for clusters with sharding enabled. These clusters can only be restored to the point in time when the chosen backup was created.

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

When restored to the current point in time, the new cluster will reflect the state of:

  • Existing cluster at the time of recovery.
  • Deleted cluster at the time of archiving the last oplog.

Was the article helpful?

Previous
Storage in Yandex StoreDoc
Next
Replication
© 2026 Direct Cursus Technology L.L.C.