Export a snapshot
Numspot allows you to export a snapshot for backup purposes.
The permitted export formats are raw or qcow2.
Prerequisites
You must have an object storage bucket created and accessible in your space (see Create a bucket)
To export a snapshot, you must use the API (https://api.{region}.numspot.com) and provide the following information:
- the identifier of the space;
- the identifier of the snapshot to export;
- the name of the object storage bucket in which the export must be made available;
- the desired export format (
raworqcow2).
The export operation is then accepted and an export identifier is provided to you.
The export file will be available in the bucket specified in the request.
Depending on the size of the snapshot to export, the export may take a few minutes to complete. You can check the status of the ongoing export through the API (see API below) by providing the export identifier.
Before exporting an image or a snapshot to another region, ensure that this action is permitted by all applicable third-party licenses.
If the export is permitted, only the export of an image guarantees that the third-party licenses apply in the target region, whereas the export of a snapshot does not guarantee that they apply.
Permissions
This action requires the following IAM (Identity and Access Management) permissions:
- compute.snapshot.get
- Console
- API
- Terraform
Snapshot export is not available through the console. Use the API or Terraform.
The POST /compute/spaces/{spaceId}/snapshotExportTasks command creates a snapshot export.
Example request: Create a snapshot export
The GET /compute/spaces/{spaceId}/snapshotExportTasks/{id} command retrieves the information of a snapshot export.
The Terraform documentation is available on the Numspot registry ↗.