Restoring a Hyper-V
- This article is for Windows only
Carbonite Server Backup (CSB) supports the following types of restores:
Hyper-V hosts and hosted virtual machines can be restored to the original location or to an alternate location.
- All virtual machines may be restored using Restore All.
- Individual virtual machines may be restored using Restore Select.
- The Initial Store may be restored using Restore Select on Windows Server 2008 R2 and Windows Server 2012 R2.
- The Initial Store cannot be restored in Windows Server 2012.
- Files and folders within the backed up virtual machines can be restored.
- Use the Files/Folders restore option to restore the virtual hard disks. These can be mounted to the file system and browsed for individual files and folders.
- CSB will offer to mount the drives automatically.
- For more information about restoring individual files and folders within a virtual machine, click here.
Restored virtual machines will be automatically imported into Hyper-V in most configurations. When restoring one or more virtual machines, all associated virtual hard disks will be restored.
The following requirements must be met, whether restoring to the original computer or to an alternate computer:
- The amandabackup / CarboniteUser user must have full access to the folder where the backups are stored.
- For cloud backups, this is the chosen Download Folder.
- For local backups, this is the folder where the backups are stored on the local disk.
- If the backups are stored in a network location, amandabackup / CarboniteUser must have access to the network folder. Please refer to How to Use External or Mapped Network Drives with CSB.
- Likewise, the amandabackup / CarboniteUser user must have full access to the folder(s) to which the backups are being restored.
Additional Requirements for Restoring Files and Folders
CSB will offer to automatically mount a restored virtual hard disk file once the restore is complete. It will also ask if you want the mounted VHD to be displayed in Windows Explorer after the restore.
- The operating system of the restore machine must be equal to or higher than the operating system of the machine where the backup was taken.
- For example, a virtual hard disk that originated on a Windows Server 2012 system cannot be mounted to a Windows Server 2008 R2 system.
- If every possible drive letter is already in use, the VHD cannot be automatically mounted. There must be free, non-reserved drive letters available.
- The virtual hard disk must be using one of the following file systems to be automatically mounted.
- ReFS, with some restrictions
- ReFS disks can only be mounted on Windows Server 2012 and higher with the ReFS role enabled.
- Additionally, the operating system version must match between the original system and the system performing the restore.
- Dynamic disks cannot be mounted.
Managing VHD Files After the Restore
You can manage your VHD files from within CSB after the restore is complete. Simply right-click the Restore operation in the Report page. You will be presented with three options:
- Mount VHD: Select this option to mount a VHD file. It is subject to the same requirements shown above.
- Dismount VHD: Select this option to dismount a VHD file that is currently mounted.
- Delete VHD: Select this option to delete the VHD file from disk.
Further information about mounting and dismounting VHD files can be found in this Knowledge Base article.
Restoring to Original Location
CSB cannot overwrite an active, running virtual machine when restoring to the Original Location. If you attempt to do so, the restore will be interrupted with the following message:
The guest VM that you are trying to restore to appears to be in running state. It will be turned off during the restore.
Are you sure you want to continue?
Select OK to turn off the running VM and continue the restore. Select Cancel to abort the restore process.
- The above warning will not appear if the name of the Virtual Machine has changed since the time the backup was performed. CSB will proceed directly with the restore and overwrite the existing VM.
Restoring to a Different Computer
You can restore your backed up data originating from one virtual machine to a different virtual machine. This method is mostly used to create a clone of the original system. It is recommended that you install the same Windows Operating System (with the same service packs) on the target virtual machine as was installed on the original virtual machine. This procedure requires additional steps that must be performed ahead of time. The steps are as follows:
- Installing CSB on the Target Computer (where you wish to restore the backup data)
- Downloading and Importing the Cloud Certificate
- Importing Existing Backup Sets
- Restoring the Backup Data
The sections below are collapsed. Please click the section title to open / close a particular section.
You will need to first install Carbonite Server Backup on the computer you wish to restore the backup data.
Sign in to your account at https://account.carbonite.com.
Click the Install Carbonite button to install Carbonite Server Backup on your computer.
Click the Download the installer button to start the download and run the installation file.
Once the installation is complete, you can download and import your cloud backup certificate.
- Sign in to your account at https://account.carbonite.com.
- Click the Servers tab, and click the Download backup certificate button.
- A Download Carbonite Safe Server Backup certificate window will appear with a download link and information about the certificate. Click Download backup certificate to proceed. The certificate file is called cloud.carbonite.
- After downloading the cloud certificate, launch Carbonite Safe Server Backup. If the Enhanced Interface displays an option for Import My Cloud Certificate, click it and follow the on-screen instructions. If no such import option exists on your screen, skip to next step. Once you have successfully imported your cloud certificate, proceed to importing your existing backup sets.
- Within the CSSB Enhanced Interface, click the Advanced link in the upper right hand corner.
- Within the Tools section, click Import Cloud Certificate.
- A Cloud Certificate Import window will appear, allowing you to browse to the location of your cloud certificate. Click the Browse button to select and upload your downloaded certificate.
- An Import Cloud Certificate window will appear. After selecting your cloud certificate, click Open to proceed.
- Once your cloud certificate has been successfully uploaded, you will receive a notification message. Click Ok to close the window.
To import existing backup sets, follow the steps below:
- Launch the CSSB Enhanced Interface. If an option to Restore data to this server exists, click it and proceed to step 3. If no such option exists, proceed to the next step.
- Navigate to the Advanced page, and within the Tools section click the Import Existing Backup Sets link.
- On the next screen that appears, you will have the option of selecting a local copy of your backup set or a copy in the cloud for import.
- After making your selection, enter information about the backups you wish to recover and click Import Backup Set.
- CSSB will scan for valid backups using the information you have provided. This process can take a long time to complete.
- When prompted, close and restart the CSSB Enhanced Interface to complete the Import Existing Backup Sets process.
- All functions, including reports and data restores, will be available for the backups and backup sets.
For additional information about importing existing backup sets, please view this Knowledge Base article.
Once the backup sets have been successfully imported by CSB, you can follow the normal restoration steps to restore a Hyper-V.