IBM Cloud Docs
FAQ for File Storage for VPC snapshots

FAQ for File Storage for VPC snapshots

The following questions often arise about the File Storage for VPC snapshots offering. If you have other questions you'd like to see answered here, provide feedback by using the Open doc issue or Edit topic links at the end of the topic.

What is a snapshot?

Snapshots are a point-in-time copy of your File Storage for VPC share that you manually create. The first snapshot is a full backup of the share. Subsequent snapshots of the same share record only the changes since the last snapshot. You can access a snapshot of a share and use it to provision a new share. Snapshots' lifecycle is linked to their parent share. Snapshots are not independent resources.

What is a backup snapshot?

Backup snapshots, also called backups, are scheduled snapshots that are created by using the Backup for VPC service. You can schedule backups for file shares by creating a backup policy with a plan. Then, add the user tags that are specified in the policy to your shares so the service knows which shares to create a snapshot from. For more information, see Backup for VPC.

Backup schedules can be configured only on the source side of a replication pair. When you choose to failover operations to the replica share, the source and replica shares switch roles. After a failover is performed, backup policies need to be removed from what was previously the source and applied to the current source share. Make sure that you update the tags on the source and replica shares.

How many snapshots can I take?

You can take up to 750 snapshots per share in a zone. Deleting snapshots from this quota makes space for more snapshots. A snapshot of a share cannot be greater than 10 TB. Also, consider how your billing is affected when you increase the number of snapshots that you take and retain.

Is there a limit on the size of a share that I can take a snapshot of?

The maximum size of a share is 10 TB. Snapshot creation fails if the share is over that limit.

How secure are snapshots?

Snapshots are stored alongside the file shares. Snapshots retain the encryption from the original share, IBM-managed or customer-managed, and share the encryption with the source share.

Snapshots can be copied to another zone only by the replication process, which is always encrypted in transit.

What happens when I restore a share from a snapshot?

Restoring a share from a snapshot creates another share. The share that you create from the snapshot uses the same share profile and contains the same data and metadata as the original share. For more information, see Restoring a share from a snapshot.

What happens to snapshots when I delete my share?

Deleting a share from which you created a snapshot deletes the snapshot, too. Snapshots coexist with their source share.

Can I set up a snapshot schedule?

Yes, you can use Backup for VPC to create a backup policy and plan. In the plan, you can schedule daily, weekly, or monthly backup snapshots, or more frequent backups with a cron-spec expression. For more information about scheduling backup snapshots and how it works, see the Backup for VPC overview.

How am I charged for usage?

The cost for snapshots is calculated based on GB capacity that is used during the billing cycle. Shares are configured for the maximum Snapshot size, a maximum of 99 times the size of the share or 100 TB. Because the snapshot space is based on the capacity that was provisioned for the original share, the snapshot capacity does not vary. However, you pay only for the capacity that is used by the snapshots. Deleting snapshots can reduce cost. For more information about billing and usage, see How you're charged.

What happens when I delete a snapshot?

When a snapshot is deleted, only the data blocks that are no longer needed by another snapshot are freed on the storage. The size of individual snapshots is dynamic, dependent on the existence of past or future snapshots, and the current state of the file share. Due to its dynamic nature, the actual amount of space that can be reclaimed by deleting snapshots cannot be easily determined. The change in the amount of space that is used is reflected in the metrics within 15 minutes after the snapshot is deleted.

Can I use share snapshots for disaster recovery?

To help ensure that snapshots are able to survive the loss of an availability zone, configure replication for the file share. When a new replica share is created, all snapshots present on the source volume are transferred to the replica. When replication proceeds normally, any snapshots that are taken on the source are copied to the replica, and snapshots that are deleted from the source are also removed from the replica.

What are the different kinds of snapshots in my /.snapshot directory?

All the snapshots that are present in the share are visible as subdirectories inside a hidden /.snapshot directory, and the snapshot directories are named the same as the snapshot fingerprint ID that you see in the console, from the CLI, or with the API. These snapshots are the snapshots that you took manually or that were created automatically by the backup service.

You can also see special "replication" snapshots that are named by using the word "replication" and the associated creation timestamp rather than the fingerprint of the snapshot. These snapshots are created by the system and are used to mirror data to the replica share. The replication snapshots are automatically released and deleted when they are no longer needed.

Can I automate the creation of snapshots?

You can use the Backup for VPC service to schedule the creation and deletion of your snapshots. For more information, see Backup for VPC.

Can the users of an accessor share see the snapshots of the origin share?

Yes. Accessor shares have access to all the data within the origin share and that includes the snapshots of the origin share, too.