DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
This feature adds the ability to create a new instance from a VM backup for dummy, NAS and Veeam backup providers. It works even if the original instance used to create the backup was expunged or unmanaged. There are two parts to this functionality:
...
...
The following details are needed for creating the new Instance:
...
The rest of the Instance properties are not stored and retrieved from backup. Users have to set them explicitly if needed.
The UI form is pre-populated with backup metadata.
Users may override configurations.
Restrictions:
These are already enforced in the UI, and will return an error if called directly from API.
The option to reuse original IP and MAC is available only if the original VM is expunged and the addresses are still available in the network.
...
attached while creating the instance and detached before restore, so that the new instance doesn't boot with ISO, but still has the metadata that it was created using that ISO.A new api createVmFromBackup is added.
...
| Parameter | Type | Required | Description |
|---|---|---|---|
backupid | UUID | Yes | Backup ID to restore from |
preserveip | Boolean | No | Use original IP/MAC. Applicable only if the original Instance is expunged |
zoneid | UUID | Yes | Zone to deploy the instance |
datadiskdetails | List | Yes | Disk details for data volumes (Disk offering, size, minIops, maxIops) |
serviceofferingid | UUID | No | Optional override |
templateid | UUID | No | Optional override |
Other parameters are similar | - | - | - |
The existing DeployVmCmd only supports creating a single data volume during instance deployment. However, backups can contain multiple data volumes, and to restore such backups, the CreateVmFromBackup API needs to support the creation of multiple data volumes.
...
Although this functionality is technically available in DeployVmCmd, it has not been integrated into the UI.
...
Currently, backup offering can not be removed from an Instance which has backups. This has been changed so that backup offering can be removed and the VM can be expunged even with backups
backup.backed_volumes instead of vm_instance.backup_volumes as vm_instance.backup_volumes is cleared when the backup offering is removed.backup table, not from the vm_instance table.Backup usage tracking has undergone major changes to support the new flexibility around backup offerings.
...
Usage is also tracked for backups of Expunged Instances. Pre-requisite for this is that the Database entry for the expunged VM is present. It is made sure that the db entry for expunged Instances with Backups are not auto-purged by the system itself. Users should make sure not to manually purge DB entries for such VMs.
...
...