Files
3engines_doc/docs/openstackcli/How-to-backup-an-instance-and-download-it-to-the-desktop-on-connectVM-Cloud.html.md
2025-08-16 08:07:54 +05:30

4.1 KiB
Raw Permalink Blame History

How to Backup an Instance and Download it to the Desktop on connectVM Cloud connectVM Hosting🔗

First, you will need to setup the connectVM CLI environment on the computer to which you want to download your instance. Depending on the operating system you are using, follow one of the links below:

How to install connectVMClient for Linux on connectVM Cloud

How to install connectVMClient GitBash for Windows on connectVM Cloud

Assume that you are

  • logged into your connectVM Cloud hosting account with Horizon interface https://console.connectvm.com/ and that
  • you have created an instance called vm-john-01.

backupinst1.png

List instances in your project using the following CLI command:

user@ubuntu:~$ connectVM server list

This will be the result:

ID Name Status Networks Image Flavor
72170eb7-cee4-41a3-beea-c7d208446130 vm-john-01 ACTIVE test_network=192.168.2.172, 64.225.128.53 Ubuntu 20.04 LTS eo1.medium

Now you can create a backup from command line interface (CLI) in the terminal (replace 72170eb7-cee4-41a3-beea-c7d208446130 with the ID of your instance):

user@ubuntu:~$ connectVM server backup create --name backup-01 72170eb7-cee4-41a3-beea-c7d208446130

Note

You can also add the rotate parameter to the above command if you want to have control over the number of stored backups:

user@ubuntu:~$ connectVM server backup create --name backup-01 --rotate 2 72170eb7-cee4-41a3-beea-c7d208446130

You can see the backup “backup-01” in https://console.connectvm.com//project/images

backupinst2.png

or with CLI command:

user@ubuntu:~$ connectVM image list --private

The result would be:

+--------------------------------------+-----------+--------+
| ID                                   | Name      | Status |
+--------------------------------------+-----------+--------+
| 747d720d-a6f4-4554-bf56-16183e5fb7fa | backup-01 | active |
+--------------------------------------+-----------+--------+

Disk image is a raw copy of the hard drive of your virtual machine. You can download it using the following command (replace 72170eb7-cee4-41a3-beea-c7d208446130 with the ID of your disk image):

user@ubuntu:~$ connectVM image save --file backup-on-the-desktop 747d720d-a6f4-4554-bf56-16183e5fb7fa

After that, you can upload backup of your file using the Horizon dashboard:

Go to Project → Compute → Images.

backupinst3.png

Click on “Create Image”.

backupinst4.png

On this panel you must insert image name, choose backup file and backup format. Next click on “Create Image”.

backupinst5.png

You can also use CLI commands to upload the backup file:

user@ubuntu:~$ connectVM image create --file path/to/backup <backup_name>