Restoring data by using Windows PowerShell cmdlets

If you prefer, you can use Windows PowerShell cmdlets with Data Protection for Microsoft Exchange Server to start a full Microsoft Exchange Server database recovery from a virtual machine.

Before you begin

Ensure that the Microsoft iSCSI Initiator Service is running before you restore any Microsoft Exchange Server database with backup type "VMVSS". If the service is not running, start it. For instructions, see Starting the Microsoft iSCSI Initiator Service.

Procedure

Complete the following steps on the guest VM:

  1. Issue the query cmdlet to find the database full backups.
    For example, to find all of the database full backups, enter the following command:
    Get-DpExcBackup -Name * -FromExcServer *
  2. Issue the database restore cmdlet.
    For example:
    Restore-DpExcBackup -Name ExchDb01 -Full `
      -BACKUPDESTINATION TSM -FROMEXCSERVer PALADIN20 `
      -INTODB Zwen
  3. Issue the restore cmdlets with parameter intodb to restore to an alternative location.
    For example:
    Restore-DpExcBackup -Name ExchDb01 -Full `
      -BACKUPDESTINATION TSM -FROMEXCSERVer PALADIN20 `
      -OBJect 20140923100738 -INTODB ExchDb01_altRdb