The restore process offers some options to the administrator.
When you restore a vApp, you can choose to overwrite an existing vApp. For instance, the restore software might need to overwrite a vApp with data corruption. You can also choose to restore a vApp that no longer exists, for instance, a vApp that was accidentally deleted.
You can choose whether to keep the same vApp name and other vApp attributes, or you can choose to change attributes during the restore process. If the attributes of the restored vApp no longer conform to the environment because of changes since the backup was taken, you can select new values for the non-conforming attributes.
You might want to restore an existing vApp to an earlier state, or you might want to replace it because it has become corrupted.
To restore an existing vApp:
- Identify the child virtual machines of the vApp, using the metadata stored with the backup.
- Connect to vCenter Server as a user with sufficient permissions to access the virtual machines and restore the virtual machines in the vSphere environment. This step restores the virtual disk files and virtual machine configuration. If you are overwriting an existing vApp, you generally restore the files to the same data store that vCloud Director currently uses for the vApp.
- Connect to vCloud Director and authenticate as an administrator, which gives you backup and restore privileges.
- Locate the corrupted vApp, using the ID retrieved from the metadata in the backup store.
- Select maintenance mode for the vApp, to prevent changes while restoring metadata.
- Edit vApp settings such as network, user privileges, lease, and quota as needed. Make sure to include any user-defined metadata from the backup store. If you restored a virtual machine to a different location from the original, you might need to adjust the vApp settings.
- Deselect maintenance mode for the vApp.
You might want to restore a missing vApp because somebody deleted it, or as part of disaster recovery.
To restore a missing vApp:
- Identify the child virtual machines of the vApp, using the metadata stored with the backup.
- Connect to vCenter Server as a user with sufficient permissions to access the virtual machines and restore the virtual machines in the vSphere environment. This step restores the virtual disk files and virtual machine configuration.
- Connect to vCloud Director and authenticate as an administrator, which gives you backup and restore privileges.
- Compose a new vApp or import the virtual machine(s) into vCloud Director to create a new vApp with these characteristics:
- It has the same name as the lost vApp.
- It belongs to the same Organization as the lost vApp.
- It obtains resources from the same provider VDC as the lost vApp.
- Select maintenance mode for the vApp, to prevent changes while restoring metadata.
- Edit vApp settings such as network, user privileges, lease, and quota as needed. Make sure to include any user-defined metadata from the backup store.
- Deselect maintenance mode for the vApp.