Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
Perform a System State and bare metal backup with Enterprise Workloads
Perform a System State and bare metal backup with Enterprise Workloads
Updated over a month ago

Prerequisites

  • Enterprise Workloads agent for Windows version 4.7 or later must be configured.

  • Windows Server Backup feature must be enabled on the Windows Server to back up (see installation instructions).

  • A non-system drive as the backup destination.

  • Backup Policy to back up the target location of the System State Backup.

Process

To understand the backup process, refer: Pre-backup and post-backup scripts for File server.

Sample pre_script.bat:
:: The backup will be written to the location specified in the SET TARGET_LOCATION line below:: The actions of the script will be written to the file defined in the SET LOGGING_LOCATION line below
@echo off
:: Define the target location for the system state backup. It cannot be the system drive of this machineSET TARGET_LOCATION=\\10.10.1.97\Parentfolder
:: Define the location for the output of the commands to be written for logging purposesSET LOGGING_LOCATION=c:\programdata\phoenix\logs\SystemStateBackup.log
:: Add header to make searching for the start of a backup easierecho -----Start of Backup----- >> %LOGGING_LOCATION%
:: Add start timestamp to the log filedate /T >> %LOGGING_LOCATION%
:: Run the command to perform the backup to TARGET_LOCATION:: The -quiet parameter supresses user prompts and you need the username and password if the target is a file share.wbadmin START BACKUP -backupTarget:%TARGET_LOCATION% -allCritical -systemstate -user: -password: -quiet >> %LOGGING_LOCATION%:: Add footer to make searching for the end of a backup easierecho -----End of Backup----- >> %LOGGING_LOCATION%
:: Add end timestamp to the log filedate /T >> %LOGGING_LOCATION%
::end

Using the above pre-script, you can run a bare metal backup.

Considerations

When you use a pre-backup script:

  1. The target location can also be a remote network share.

  2. The target location can be a local drive, but it must not be a system drive.
    For more information: https://technet.microsoft.com/en-us/library/cc742083(v=ws.11).aspx

  3. If the target location is a network share, you must specify a username and password in the wbadmin command.

Install or verify installation of the Windows Server Backup feature

Edit section

Using the Add Roles and Features Wizard, verify Windows Server Backup is installed (indicated by a checkbox). If it is not installed, select the checkbox for it and proceed with the installation.


Note: Adding this feature alone does not require a reboot of the system. However, a reboot may be required if other features are selected either directly or automatically as prerequisites.


Restore process

  • Restore the data backed up to the Cloud to a temporary location. You can restore the data to a temporary file server.

  • Once the data has been recovered, this data can be used to perform a bare metal recovery.

Procedure

  1. Start the BMR target PC with the Windows installation DVD and click the Repair your computer link.

  2. On the first System Recovery Options page, click Next.

  3. On the second System Recovery Options page, click the Windows Complete PC Restore link.


    The Windows Complete PC Restore wizard is launched. The wizard searches your machine for a suitable snapshot to restore from. If your USB drive is connected, it is detected only if the appropriate USB drivers are available. You can also install its drivers if required.

    If the restored WindowsImageBackup snapshot resides on a network share, the wizard displays the following message.

    A valid backup location could not be found.

  4. Click Cancel, select Restore a different backup, and then click Next.

  5. Click Advanced on the Select the location of the backup page.

  6. Click Search for a backup on the network.


    Tip: If you have a USB and chipset drivers available for your machine, you can also alternatively click Install a driver.

  7. Click Yes to confirm that the network is trusted.

  8. On your source machine, make sure the WindowsImageBackup is located within a shared folder.

    Example: If Y:\Share is a shared folder, WindowsImageBackup must be present at the path shown below.

  9. On the target machine, enter the path to UNC share, where the WindowsImageBackup folder resides.

    Note: Specify IP addresses instead of hostnames to avoid any name resolution issues.

  10. Click Next when the available backup gets listed.

  11. The Select the backup to restore page displays a single available backup. Click Next.

  12. On Choose how to restore the backup page, click Next.
    You can also choose to install additional drivers if your target hardware is different, exclude disks from the backup, or set advanced options.

  13. Verify the backup details on the summarized on the last page and click Finish.

  14. Select I confirm that I want to format the disks and restore the backup and click OK to start the BMR restore.

    The recovery can last for anything between a few minutes to a few hours. After completing the recovery, the machine will restart with Windows.


    References

Did this answer your question?