Enterprise File Storage - Managing volume snapshots
Manage Enterprise File Storage volume snapshots using the OVHcloud API
Manage Enterprise File Storage volume snapshots using the OVHcloud API
Last updated 27th October 2021
In this tutorial, we will provide an overview of how to manage snapshots for OVHcloud Enterprise File Storage volumes.
Learn how to list snapshots, create a new snapshot, get information about a snapshot and remove a snapshot using the OVHcloud API.
A volume snapshot is a point-in-time, read-only copy of a volume.
Snapshots are created from an existing, operational volume.
Snapshots are linked to a volume, they cannot exist without it.
All API routes used for this turorial are available under the /storage section here: https://api.ovh.com/console/#/storage.
While using the API, all fields marked with an asterisk (*) are required.
All existing snapshots for a volume can be retrieved using the following route:
serviceName *
Service ID
shareId *
Volume ID
Replace serviceName
with the ID of your service and shareId
with your volume ID.
You should have no snapshots by default.
To create a new snapshot, use the following route:
serviceName *
Service ID
shareId *
Volume ID
NetAppShareSnapshot *
description
Snapshot description
name
Snapshot name
Replace serviceName
with the ID of your service and shareId
with your volume ID.
Both snapshot name
and description
parameters are optional.
To get information about a snapshot, use the following route:
serviceName *
Service ID
shareId *
Volume ID
snapshotId *
Snapshot ID
Replace serviceName
with the ID of your service, shareId
with your volume ID and snapshotId
with your snapshot ID.
To remove a snapshot, use the following route:
serviceName *
Service ID
shareId *
Volume ID
snapshotId
Snapshot ID
Replace serviceName
with the ID of your service, shareId
with your volume ID and snapshotId
with your snapshot ID.
Join our community of users on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community