Skip to content

Snapshots of virtual servers

Information

A snapshot is a complete copy of the entire file system of a virtual server. Snapshot allows you to perform a full restoration of the server with maintaining RAM memory.

Attention

Performing a rollback operation to the specified snapshot will result in the irreversible deletion of all snapshots created after the selected restore point. It is recommended to ensure the correctness of your selection beforehand.

The Services section is intended to manage snapshots of virtual machines. It allows creating snapshots and perform the following actions with them:

  • Active snapshots - viewing the existing snapshots in the drop-down list;
  • Refresh - updating the list of snapshots;
  • Remove - deleting a snapshot;
  • Restore - restoring from snapshot;
  • Create snapshot - creating a snapshot.

To create a snapshot, click on the Create snapshot, button, and then enter its name:

Example of creating a snapshot, cURL:
curl -s "https://invapi.hostkey.com/os.php" -X POST \
--data "action=create_snapshot" \
--data "token=" \

It is possible to delete an existing token or use it to restore a virtual server only if a machine is turned off (Info >> Power control >> Power off).

Example of powering off a server, cURL:
curl -s "https://invapi.hostkey.com/eq.php" -X POST \
--data "action=off" \
--data "token=$HOSTKEY_TOKEN" \
--data "id={Server ID}"

An additional message will be displayed on the screen while restoring the server from a snapshot or deleting an existing snapshot. You must confirm the action and click the OK button.

Example of updating the snapshot list, cURL:
curl -s "https://invapi.hostkey.com/os.php" -X POST \
--data "action=get_snapshot" \
--data "token=" \
Example of restoring from a snapshot, cURL:

`bash curl -s "https://invapi.hostkey.com/os.php" -X POST \ --data "action=restore_snapshot" \ --data "token=" \


Some of the content on this page was created or translated using AI.

question_mark
Is there anything I can help you with?
question_mark
AI Assistant ×