Enterprise File Storage - Hold an automatic snapshot

Knowledge Base

Enterprise File Storage - Hold an automatic snapshot


Icons/System/eye-open Created with Sketch. 91 Views 28.11.2024 Cloud / Enterprise File Storage

Objective

Automatic snapshots are created by a Snapshot Policy which takes and keeps snapshot copies of a volume as defined by the rules associated with the policy.

Holding an automatic snapshot prevents it from being rotated by the snapshot policy and makes it a manual snapshot.

Learn how to hold an automatic snapshot from your Enterprise File Storage offer using the OVHcloud API.

Requirements

If you are not familiar with using the OVHcloud API, please refer to our guide on Getting started with the OVHcloud API.

Instructions

1. Identify the snapshot id using the following API call:

  • {serviceName} is the service unique ID
  • {shareId} is the share ID to which the snapshot belongs

HoldSnapshot

2. Hold the snapshot using the following API call:

  • {serviceName} is the service unique ID
  • {shareId} is the share ID to which the snapshot belongs
  • {snapshotID} is the snapshot ID

After the hold operation is performed, the snapshot id and type will change. However, its name, createdAt and path properties will be kept. Please take note of the new id if you want to perform further operations with the snapshot.

RevertSnapshot

The automatic snapshot has now become a manual snapshot.

Go further

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.

Join our community of users.

Related articles