Help Center
Choose product document...
Veeam Backup & Replication 9.0
Evaluator's Guide for Microsoft Hyper-V

Restoring Data from Encrypted Backup File Without Password

You can create encrypted backups that are protected with a password.

When you restore data from an encrypted backup on the same backup server, you do not have to specify a password. When you import an encrypted backup on another backup server and restore VM data from it, Veeam Backup & Replication requires a password to unlock the backup content.

In most backup products, if you do not have a password, the backup content will remain locked, and the backup will be of no use. Veeam Backup & Replication lets you decrypt encrypted backups even if you do not have a password, for example:

  • The password is lost.
  • The user who knows the password has left your organization or does not want to provide the password.
  • A third-party organization requires you to decrypt the backup, for example, by a court decree.

To restore data without a password, you must make sure that the backup infrastructure meets the following requirements:

  • The backup server that was used for backup encryption and the backup server that will be used for backup decryption must be connected to Veeam Backup Enterprise Manager.
  • The backup server and Veeam Backup Enterprise Manager server must have an Enterprise or higher license installed.

In this case, Veeam Backup & Replication will engage an additional master key — Enterprise Manager key, in the encryption process. The Enterprise Manager key consists of two components: public key and private key. The public key is passed to all backup servers that are connected to Veeam Backup Enterprise Manager. The private key is kept only on the Veeam Backup Enterprise Manager server; it is used to decrypt a backup when the password is not available.

To decrypt a backup, you can enter the password or create a request to Veeam Backup Enterprise Manager. An administrator working with Veeam Backup Enterprise Manager will process the request with the Password Recovery wizard – the wizard will apply the private key matching the public key that was used for backup encryption. As a result, you will be able to access backup data in the Veeam Backup & Replication console.

Evaluation Case

In this exercise, you will create an encrypted backup and restore data from it without a password. To do this, you will perform the following steps:

  1. Create an encrypted backup with a backup job.
  2. To emulate a situation of data decryption on another Veeam backup server, remove the created backup from the Veeam Backup & Replication console and re-import the created backup back to the Veeam Backup & Replication console.
  3. Decrypt the backup file without a password.

Prerequisites

Procedure

To create an encrypted backup and restore data from it without a password, perform the following steps.

Step 1. Create an encrypted backup

  1. Open properties of a backup job that you have configured in the Performing Backup exercise.
  2. Pass to the Storage step of the wizard and click Advanced.
  3. In the Advanced Settings window, click the Storage tab.

Restoring Data from Encrypted Backup File Without Password

  1. In the Encryption section, select the Enable backup file encryption check box and click Add on the right.
  2. In the Password field, enter a password that you want to use for the backup file encryption. To view the entered password, click and hold the eye icon on the right of the field.
  3. In the Description field, enter a hint for the password.

Restoring Data from Encrypted Backup File Without Password

  1. Make sure that the Loss protection enabled label is displayed under the Password field. In the opposite case, you will not be able to restore data from the encrypted backup without a password.
  1. Save the new job settings and run the backup job once again to produce an encrypted backup file.
  2. When you enable encryption for an already existing backup job, Veeam Backup & Replication restarts the backup chain — it produces a new full backup. To make sure that the encrypted backup has been created, open the target folder on the backup repository, find a subfolder with the backup job name and make sure that a new VBK file is added to the backup chain.

Check Backup Files

Step 2. Remove the backup from configuration and re-import it

  1. In Veeam Backup & Replication, open the Backup & Replication view.
  2. In the inventory pane, select Backups > Disk.
  3. In the working area, right-click the backup job and select Remove from configuration.

Veeam Backup & Replication will remove records about the created backup and encryption keys from the Veeam Backup & Replication database. The actual backup files will remain on the backup repository.

Remove Backup Job from Configuration

  1. On the Home tab of the ribbon, click Import Backup.
  2. From the Computer list in the Import Backup window, select a backup repository where backup files are located.
  3. In the Backup file field, specify a path to the VBM backup file on the backup repository.

Import Backups

  1. Click OK. Veeam Backup & Replication will import the backup and place it under the Backups > Encrypted node.
  2. Additionally, Veeam Backup & Replication will display a warning that the backup file you import is encrypted. Click OK in the message window to close it.

Step 3. Decrypt the backup file without a password

  1. In the inventory pane, click the Encrypted node under Backups.
  2. In the working area, right-click the imported job and select Specify password.
  3. In the Specify Password window, click the I have lost the password link.

Veeam Backup & Replication will launch the Encryption Key Restore wizard.

Specify Password

  1. In the Encryption Key Restore wizard, click Copy to clipboard to copy the displayed request for data decryption.

Copy Key Request

  1. Open Veeam Backup Enterprise Manager.
  2. In the top right corner of the window, click Configuration.
  3. Click Key Management on the left.
  4. Click Password Recovery at the top of the view.
  5. In the Challenge Request window, enter the copied text of the request.

Paste Key Request

  1. Pass through the next steps of the wizard. At the Response step of the wizard, copy the displayed text to the clipboard.

Copy Response

  1. Get back to the Veeam Backup & Replication console; in the Encryption Key Restore wizard, click Next.
  2. At the Response step of the wizard, enter the copied response to the text field, click Next and click Finish. Veeam Backup & Replication will decrypt the backup file and move the imported backup to the Backups > Disk (imported) node.

Paste Response

Validation

  1. Open the Backup & Replication view.
  2. Select the Disk (imported) node in the inventory pane.
  3. Make sure that the imported backup is available in the working area.

Validate Backup Decryption

Veeam Large Logo

Evaluator's Guide for VMware vSphere

Evaluator's Guide for Microsoft Hyper-V