Backup limitations

The following sections cover limitations related to creating and managing backups.

General limitations

Filestore backups can't be combined with the Filestore multishares feature.

Performance

  • For highly utilized instances, the performance may be reduced by as much as 15% while a backup is uploaded. Basic tier instance performance is not affected by backup create operations.

  • Storing an instance's data to multiple backup chains does impact backup performance. Expect higher latency on backup create operations when alternating between backup chains.

  • Instance operations such as instance restore or instance delete may be delayed until a backup create operation completes.

  • In some cases, delete operations may take up to 24 hours to complete.

Operations concurrency

  • Backup delete operations associated with the same source instance must be performed one at a time.

  • Bulk backup delete operations within a backup chain are not supported. While a delete operation is pending, any new delete operations within the same backup chain return a RESOURCE_EXHAUSTED error. This is regardless of whether the source instance has been deleted. If the source instance has been deleted, you receive a FAILED_PRECONDITION error.

    Filestore supports concurrent backup delete operations when backups reference separate source instances.

    For example, an instance labeled Source1 has backup data referenced in Backup1 and Backup2. Source2 has backup data referenced in Backup3 and Backup4. Backup1 and Backup2 can't be deleted in parallel, however, Backup2 and Backup3 can.

  • Backup create and backup delete operations initiated within the same backup chain can run concurrently. When you've already started creating a new backup, you have to wait until the operation completes to delete the most recent existing backup. This is because the most recent backup contains the most critical data needed to successfully complete the backup create operation. If you try to delete the most recent backup, you will receive the FAILED_PRECONDITION error.

    For example, Source1 has a backup chain composed of Backup1 and Backup2. When you begin a create operation for Backup3, you can't delete Backup2 until the create operation completes.

  • For more information about operation rate limits, see Operation rate limits for backups.

Storage

  • You can restore a backup of a basic instance to the source instance of the same service tier, an already existing instance, or a new instance. If you choose a new instance, you can choose between basic HDD and basic SSD instances regardless of the source instance tier.

  • You can't restore zonal, regional, and enterprise instances to a source or existing instance, only to a new instance. The new instance tier doesn't have to match the source instance tier. For example, you can restore a backup of a regional instance to a zonal instance. The provisioned capacity of the new instance must be equal to or exceed the provisioned capacity of the source instance.

Capacity

  • Backups created for zonal, regional, and enterprise instances might consume instance capacity. This capacity varies relative to the scope of changes made to the data since the backup was created. More specifically, when a backup is created, Filestore creates an internal snapshot of the file system which also occupies a portion of available instance capacity.

  • Snapshot size is also relative to the scope of changes made to data within the share since the last backup was created. This snapshot continues to exist until the next subsequent backup is created and uploaded.

  • All data referenced by the backup persists in the state as it was when captured and continues to take up capacity from the file system. So for example, if you were to delete data from the mounted file system, that action itself won't free up capacity. Instead, to do so, you would create a new backup after deleting or overwriting significant amounts of data.

  • To anticipate sufficient capacity for your workloads, consider applying one of the following:

    • Increase instance capacity for workloads with significant, frequent data changes or a high change rate.

    • Take frequent backups. If the last backup is stale, the internal snapshot might accumulate more changes and consume more instance capacity.

Encryption

When using CMEK to encrypt your backup chains, the following limitations apply:

  • An entire backup chain is encrypted using the same CMEK.

  • When creating a backup with CMEK, CMEK must reside in the same region as the target backup.

  • If storing a backup chain in a region separate from the source instance, you might need to apply separate keys, one for the source and one for the backup chain.

    • All service tiers support multiple backup chains, or the ability to store an instance's backups in multiple regions. If electing to use CMEK for encryption, a CMEK key must reside in the same region as the resource it encrypts. If you're storing backups in a region separate from the source, and the CMEK is not a multiregion key, you must use separate CMEK keys. For more information, see CMEK restrictions and Choosing the best CMEK location.
  • A single CMEK is applied to the Cloud Storage bucket where the backup chain is stored and cannot be combined or replaced.

  • CMEK support is not available for basic tier backups.

For more information, see CMEK support for backup chains.

Data migration

After you create a Filestore instance, you can't change its location or service tier. To migrate your data to another region, you can create a backup of it and use the backup to create a new Filestore instance or restore it to an existing instance.

Protocols

When restoring a backup, the new instance must use the same protocol as the source instance.