Snapshots

Learn how to create and manage snapshots of a volume in Andasy.

The snapshot commands focus on managing snapshots of a volume. Snapshot is a copy of a volume at a certain point in time, usually taken daily and retained for a certain period of time.

Listing volume snapshots

The following command lists volume's snapshots attached to a specific application. This also can retrieve the snapshots of a deleted volume in case its ID is known.

andasy volumes snapshots list -a <app-name> <volumeId>

Replace <app-name> with the name of the application that owns the volume. Required if config.hcl is not present.

Replace <volumeId> with the ID of the volume(optional).

The following command makes downloadable link for a volume's snapshot. This Link is valid for 1 day and should be kept confidential. This also can be used for recently deleted volume in case its ID is known.

andasy volumes snapshots link -a <app-name> <volumeId>

Replace <app-name> with the name of the application that owns the volume. Required if config.hcl is not present.

Replace <volumeId> with the ID of the volume(optional).