File Storage Service - Managing Share Snapshots

Database di conoscenze

File Storage Service - Managing Share Snapshots


Icons/System/eye-open Created with Sketch. 2 viste 31.03.2026 File Storage

Objective

Snapshots capture a point-in-time state of a File Storage NFS share. This guide shows how to list, create, and delete snapshots using the OVHcloud API (v1 /cloud routes), ensuring consistency and operational reliability.

Tip: Refer to the OVHcloud API console for exact operations, HTTP methods, and request schemas.

Requirements

  • A Public Cloud project with File Storage Service enabled.
  • An existing share in available state.
  • API credentials with sufficient permissions to manage shares and snapshots.
  • Understanding of key API concepts: serviceName (project ID), regionName, shareId, and optional snapshotId.

Instructions

Step 1: Identify your share

List all shares in your target region to find the share ID:

Confirm that the share is in available state before creating snapshots.

Step 2: List existing snapshots

Retrieve all snapshots for a given share:

Use the response to retrieve snapshot IDs and statuses before deleting or automating operations.

Step 3: Create a snapshot

Create a snapshot with a JSON payload specifying a human-readable name (and optional description):

  • Poll the list/detail endpoints until the snapshot reaches available status.
  • Snapshot creation time depends on allocated capacity, I/O activity, and platform load.
  • Plan snapshots during low I/O periods to ensure consistency.

Note: Snapshots are crash-consistent unless your application explicitly quiesces writes.

Step 4: Retrieve snapshot details (optional)

Retrieve a single snapshot by ID:

Use this for automated checks after backups or to verify snapshot metadata.

Step 5: Delete a snapshot

Free the storage consumed by a snapshot:

Deletion is irreversible. Ensure the snapshot is no longer required.

Go further

Join our community of users.

Articoli correlati