Exporting a Snapshot to a Bucket

You can export a snapshot to an OUTSCALE Object Storage (OOS) bucket to create a backup, or to enable other accounts to copy it. You can export snapshots in QCOW2 or RAW format.

The snapshot can then be imported to an account using a pre-signed URL. For more information, see Configuring a Pre-Signed URL.

Before exporting an OMI or a snapshot to another Region, you need to make sure that this action is authorized by all applicable third-party licenses. If the export is authorized, only an OMI export guarantees the application of third-party licenses in the target Region, whereas a snapshot export does not.

Exporting a Snapshot to a Bucket Using Cockpit v2

  1. Click inside the Snapshots dashboard to make checkboxes appear.

  2. Check the box of the snapshot you want to export to an OOS bucket.
    The snapshot is selected and an action menu appears.

  3. Click IconExport Export to OOS.
    The EXPORT SNAPSHOT TO OOS BUCKET dialog box appears.

  4. Specify the information for the export:

    1. From the Disk image format list, select the format of the export disk (QCOW2 or RAW).

    2. In the OOS bucket name field, type the name of the OOS bucket.

      You must have the appropriate write permission for the bucket where you want to export the snapshot. For more information, see Managing Access to Your Buckets.

    3. (optional) In the Bucket prefix field, type a prefix for the copy of the snapshot in the OOS bucket.
      For more information about prefixes, see About OOS > Objects.

  5. Click Export.
    A copy of the snapshot is exported to the OOS bucket.

Exporting a Snapshot to a Bucket Using OSC CLI

The CreateSnapshotExportTask command exports a snapshot to an OUTSCALE Object Storage (OOS) bucket.
This action enables you to create a backup of your snapshot or to copy it to another account. You, or other accounts you send a pre-signed URL to, can then download this snapshot from the bucket using the CreateSnapshot method.
This procedure enables you to copy a snapshot between accounts within the same Region or in different Regions. To copy a snapshot within the same Region, you can also use the CreateSnapshot direct method. The copy of the source snapshot is independent and belongs to you.

For more information, see About Snapshots.

Request sample
$ osc-cli api CreateSnapshotExportTask --profile "default" \
    --SnapshotId "snap-12345678" \
    --OsuExport '{
        "DiskImageFormat": "qcow2",
        "OsuBucket": "BUCKET",
        "OsuPrefix": "PREFIX",

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

  • OsuExport: Information about the OOS export task to create.

  • SnapshotId: The ID of the snapshot to export.

The CreateSnapshotExportTask command returns the following elements:

  • ResponseContext: Information about the context of the response.

  • SnapshotExportTask: Information about the snapshot export task.

Result sample
  "SnapshotExportTask": {
    "Tags": [],
    "TaskId": "snap-export-12345678",
    "Comment": "Export of snapshot snap-12345678",
    "OsuExport": {
      "OsuPrefix": "PREFIX",
      "OsuBucket": "BUCKET",
      "DiskImageFormat": "qcow2"
    "State": "pending",
    "SnapshotId": "snap-12345678",
    "Progress": 0
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"

Related Pages

Corresponding API Methods