Export Instance
How to export a Instance from CubeOS
Connect to admin console with SSH
$ ssh admin@IPADDRESS
Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.
Password:
Welcome to the Cube Appliance
Enter "help" for a list of available commands
License (type: trial) is valid for 98 days
controller>
Export Instance
controller> image
controller:image> export_instance
Select domain:
1: default
Enter index: 1
Select tenant:
1: admin
2: bigstack
Enter index: 2
Select instance:
1: Webserver
Enter index: 1
Output format
Is the instance installed apt - qemu-guest-agent?
Is a requirement for this operation
Enter 'YES' to confirm: YES
Select output format:
1: vmdk
2: raw
Enter index: 1
Select output destination:
1: usb
2: local
Enter index: 2
Export in progress
[13:36:55] fetch Webserver disk information ... done
[13:37:02] upload Webserver disk 0 (volume: 92b0808f-ffd3-4639-90eb-dfcc237e6b08) to image repository . done
[13:37:19] download uploaded image to file /mnt/cephfs/glance/Webserver-export-ea54737a-20220127-133655-disk0.raw ...
[=============================>] 100%
[13:37:24] convert to /mnt/cephfs/glance/Webserver-export-ea54737a-20220127-133655-disk0.vmdk ...
(100.00/100%)
[13:37:24] delete uploaded image ... done
Exporting Webserver complete. It is safe to remove the local image file.