A snapshot is a point-in-time copy of the instance state that includes the file system and disk contents. Snapshots enable instant backups of an instance to enable data recovery in case of unexpected failures.
Follow this guide to create snapshots on a Vultr Cloud Compute instance using the Vultr Customer Portal, API, or CLI.
Navigate to Products and click Compute.
Click your target instance to open its management page.
Navigate to the Snapshots tab.
Enter a new descriptive label in the Label field and click Create Snapshot to take a new snapshot of your instance.
Send a GET
request to the List Instances endpoint and note the target instance's ID in your output.
$ curl "https://api.vultr.com/v2/instances" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Create Snapshot endpoint to create a new snapshot of the instance.
$ curl "https://api.vultr.com/v2/snapshots" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"instance_id" : "<instance-id>",
"description" : "<label>"
}'
List all instances available in your Vultr account and note the target instance's ID.
$ vultr-cli instance list
Create a new snapshot of the instance.
$ vultr-cli snapshot create --id <instance-id>