Skip to main content

Managing Snapshots

Managing volume and server snapshots in Arvancloud Cloud Server.

Overview​

The snapshot commands provide tools for managing point-in-time snapshots of volumes and servers. Snapshots are used for backup, data recovery, or creating new resources.

Alias: snap

Commands​

1. Listing Snapshots​

Shows the list of all volume and server snapshots.

arvan iaas snapshot list

Alias: ls

Flags:

  • --region, -r: filter by region code (such as ir-central1)
  • --az, -a: filter by data center (such as ir-central1-a)

Example:

$ arvan iaas snapshot list --region=ir-central1

Output:

ID NAME STATUS TYPE SIZE (GB) SOURCE SERVER NAME CREATED AT (UTC) REVERTED ON (UTC) AZ
s1a2b3c4-5678-90ab-cdef-123456789012 db-backup-daily available VOLUME 100 db-volume - 2026-01-15 08:30 - ir-central1-a
s2b3c4d5-6789-01bc-def0-234567890123 web-server-snapshot available SERVER 50 web-server-01 web-server 2026-01-20 14:15 2026-02-01 10:20 ir-central1-a
s3c4d5e6-7890-12cd-ef01-345678901234 weekly-backup available VOLUME 200 app-data - 2026-01-10 00:00 - ir-central1-b

Note: times are shown in the UTC time zone.

2. Showing Snapshot Details​

Shows detailed information about a specific snapshot.

arvan iaas snapshot show <snapshot-id>

Alias: sh

Arguments:

  • snapshot-id (required): the snapshot ID

Example:

$ arvan iaas snapshot show s2b3c4d5-6789-01bc-def0-234567890123

Output:

SNAPSHOT DETAILS
----------------
ID: s2b3c4d5-6789-01bc-def0-234567890123
Name: web-server-snapshot
Status: available
Type: SERVER
Size: 50 GB
AZ: ir-central1-a
Created At: 2026-01-20 14:15:30 UTC
Description: Snapshot before maintenance

SOURCE
------
Server ID: srv-12345678
Server Name: web-server-01
Image ID: img-abcd1234

REVERT INFORMATION
------------------
Reverted On: 2026-02-01 10:20:15 UTC

3. Taking a Snapshot​

Creates a snapshot of a server.

arvan iaas snapshot take <server-id> <name>

Arguments:

  • server-id (required): the ID of the server you want to snapshot
  • name (required): the snapshot name

Flags:

  • --description, -d: a description for the snapshot

Example:

$ arvan iaas snapshot take srv-12345678 pre-upgrade-backup --description="Backup before system upgrade"

Output:

SOURCE SERVER
-------------
ID: srv-12345678
Name: web-server-01
AZ: ir-central1-a


SNAPSHOT CREATED
----------------
ID: s4d5e6f7-8901-23de-f012-456789012345
Name: pre-upgrade-backup
Description: Backup before system upgrade
Status: creating

Snapshot created successfully!

4. Creating a Volume from a Snapshot​

Creates a new volume from an existing snapshot.

arvan iaas snapshot create-volume <new-volume-name> <snapshot-id>

Alias: cv

Arguments:

  • new-volume-name (required): the name of the new volume
  • snapshot-id (required): the ID of the snapshot the volume is created from

Flags:

  • --description, -d: a description for the new volume

Example:

$ arvan iaas snapshot create-volume restored-volume s1a2b3c4-5678 --description="Restored from backup"

Output:

SOURCE SNAPSHOT
---------------
ID: s1a2b3c4-5678
Name: db-backup-daily
Size: 100 GB


VOLUME FROM SNAPSHOT
--------------------
ID: v5e6f7g8-9012-34ef-0123-567890123456
Name: restored-volume
Description: Restored from backup
Snapshot: s1a2b3c4-5678
Size: 100 GB
Status: creating

Volume created from snapshot successfully!

5. Deleting a Snapshot​

Deletes a snapshot.

arvan iaas snapshot delete <snapshot-id>

Alias: del

Arguments:

  • snapshot-id (required): the ID of the snapshot to delete

Flags:

  • --force, -f: skip confirmation

Example:

$ arvan iaas snapshot delete s1a2b3c4-5678-90ab-cdef-123456789012

Output:

SNAPSHOT TO DELETE
------------------
ID: s1a2b3c4-5678-90ab-cdef-123456789012
Name: db-backup-daily
Type: VOLUME
Size: 100 GB
Source: db-volume
AZ: ir-central1-a

Are you sure you want to delete this snapshot? (y/n) y

Snapshot deleted successfully!

Command Reference​

CommandAliasDescriptionArguments
snapshot listlsList all snapshotsNone
snapshot showshShow the details of a specific snapshot<snapshot-id>
snapshot take-Take a snapshot of a server<server-id> and <name>
snapshot create-volumecvCreate a volume from a snapshot<new-volume-name> and <snapshot-id>
snapshot deletedelDelete a snapshot<snapshot-id>