View Source

With CDP Enterprise and Advanced Edition, you can perform a Bare-Metal Restore of Windows logical disks.

{info:title=Reference}A *logical drive* is a part of a physical disk drive that has been partitioned and allocated as an independent unit, and functions as a separate drive altogether. For example, one physical drive can be partitioned into drives F:, G:, and H:. Using the logical drive hierarchy is one method of organizing large units of memory capacity into smaller units.
{info}

----
{toc:location=top|maxLevel=3|minLevel=3|type=flat|separator=pipe|style=border:1}

----
h3. 1. Loading Agent in Recovery Mode and Installing the Server Key

Follow the instructions below to load the Agent in Recovery mode and to install the Server Key.

1. Boot the Agent from Live CD or PXE Network Boot.

2. Then you may need to [configure the network settings|Configuring Network for Bare-Metal Restore]. 

3. To add the Server Key to the Agent, run the following command on the Agent machine:

{code}#r1soft-setup --get-key [Server_URL]{code}

!r1.png!

{info:title=Note} The {{\--get-key}} function downloads the Key from the Server. For this option to work, the Server should be up and accessible from the Agent via the network.
{info}

----
h3. 2. Restoring Windows System Volume

Follow the instructions below to start the Bare-Metal Restore of the Windows system (boot) Volume.

1. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" screen.
|| Enterprise Edition || LiveCD Server, PXE Server ||
| !2_2.png! | !2.png! |
2. Select an Agent from the drop-down menu located on the "Recovery Points" list toolbar.

!r4.png!

3. Select a Disk Safe from the drop-down menu located on the "Recovery Points" list toolbar.

!r5.png!

4. In the "Recovery Points" list, click on the "Bare-Metal Restore" icon in the "Actions" column for the Recovery Point from which you are going to restore.

!r6.png!

{info:title=Tip}To find a Recovery Point, you can use the Basic and Advanced List Filters. See [Customizing the Recovery Points List].
{info}

5. The "Bare-Metal Restore" window opens.

!Introduction_changed_English.png!

6. Look through the information on the Introduction screen and click "Next."

!next.png!

7.

{info:title=Note}
Hereinafter on this page there are some changes (for version 4.2.0). Please refer to this link, [Bare-Metal Restore Device Auto-Mapping|Bare-Metal Restore Device Auto-Mapping], explaining the new feature: Bare-Metal Restore Device Auto-Mapping.
{info}

On the next page, select the disk where the Windows system was previously installed.

!r8.png!

{info:title=Note}With version 3.18 and later versions, there is no need to restore logical disks separately from the boot partition and disk where the Windows system was previously installed.{info}
{info:title=Tip}To display filesystem properties, click on the "Plus" icon in front of the file system name. The following data is provided for each filesystem:
* *Content Type -* Either "MBR" (Master Boot Record) or a special type of filesystem. The most common filesystem types are NTFS (Windows) or EXT3 (Linux).
* *Device Path* \- The path used by the operating system to identify the hard disk or partition. In Windows, it looks like {color:blue}\\?\Volume2cb24442-fd22-11df-b57d-806e6f6e6963{color}. In Linux, it looks like {color:blue}/dev/hda{color} or {color:blue}/dev/sda{color}. The Device Path saved in the Recovery Point refers to the Device that this Recovery Point was created for. If you are performing a Bare-Metal Restore to an alternate Agent, the Device Path will be different.
* *Size* \- Size of the hard disk or partition in gigabytes.
* *Block Size* \- Minimum amount of space that can be allocated on the hard disk. This depends on the partition size and file system used and is a multiple of 512 bytes.
* *Total Blocks* \- The total number of blocks (see above) available for data on this partition
* *Allocated Blocks* \- The number of blocks allocated for data at the time the Recovery Point was created.
{info}

Click "Next" to proceed to the following step.

!next.png!

8. On the next screen, select the "*Restore to Alternate Host Name/IP*" option. Then enter the Hostname or IP address of the alternate Agent.

!r9.png!


Click "Next" to proceed to the following step.

!next.png!

9. On the "Restore Storage Configuration" screen, choose the "*Select Storage Configuration to Restore*" option.

!r10.png!

Click "Next" to proceed to the following step.

!next.png!

9.1 On the next screen, select the "*Select Partition Tables to Restore*" option. Selecting this option lets you pick partition tables from the Recovery Point to restore to the target Agent.

!r11.png!


Click "Next" to proceed to the following step.

!next.png!

After the "Select Partition Tables to Restore" option is selected, you must complete three (3) additional steps:
* *Select Partition Tables*
* *Map Partition Tables*
* *Restore Partition Tables*

h6. 9.1.1 Selecting Partition Tables

Select the partition table layout(s) for the filesystems you want to restore.

!r12.png!

{info:title=Tip}To display the partition table properties, click on the "Plus" icon in front of the partition table's name.
* *Content Type* \- Either MBR (Master Boot Record) or another special type of partition
* *Size* \- Size of the partition table in gigabytes
* *Number Of Sectors* \- Shows the total number of partition table sectors
* *Sector Size* \- The value of the sector in bytes
* *Serial Number* \- Full serial number of the partition table
* *Partitions* \- The list of partitions allocated with the partition table
{info}
Click "Next" to proceed to the following step.

!next.png!

h6. 9.1.2 Mapping Partition Tables

After choosing partition tables to restore, map the selected Partition Table(s) Recovery Points to physical disks in the Target Agent. From the drop-down menu, select the physical disks you are going to restore to.

!r13.png!

You are provided a table that allows you to map the chosen partition tables to physical disks on the target Agent. You can see as many lines in the table as the number of partition tables selected for restore. Each partition table must be mapped to a physical disk on the target Agent before proceeding.


After selecting the disks, click "Next" to proceed to the next page.

!next.png!

h6. 9.1.3 Restoring Partition Tables

Perform the partition table restore by clicking on the "Restore Partition Tables" button. Once confirmed, the Partition Table Restore will be initiated. A busy indicator will be displayed while the restore is in progress. Restoring the partition table should not take a lot of time because the partition table fits into one 512-byte sector.

!r14.png!

{info:title=Notice}Restored partition tables will overwrite the existing partition table layout on the target devices.
{info}

When the process is over, click "OK" in the notification pop-up.

!r15.png!

Click "Next" to proceed to the following step.

!next.png!


10.On the "Map Filesystems" screen, map the chosen filesystems to devices on the target host.

!r16.png!

{info:title=Note}The target device must be large enough to hold the filesystem, and each target device can only be selected once. {info}

{info:title=Note}You must select all of the filesystems for restore before proceeding. {info}
Click "Next" to proceed to the following step.

!next.png!

11. Then on the "Restore Options" screen, select the "*Reboot After Restore*" option.

!r17.png!

Click "Next" to proceed to the following step.

!next.png!

12. On the "Summary" page, you will need to confirm the selected Bare-Metal Restore options. Each selected filesystem is listed, along with the name of the target device it is being mapped to.

!r18.png!

Click "Restore" to start the Bare-Metal Restore task.

!r19.png!

13. The "Details for Bare Metal Restore" window opens. Here, you can see all the details of the Bare Metal Restore process.


!r20.png!

14. The Restore process starts and can take a while. You can go to the "Task History" screen to observe the task progress. See [Accessing Task History].

The Task History page displays the State, Alert, Type, Progress percentage, and the Started and Run Time stamps of the Bare-Metal Restore process.

!r21.png!

15. When the process is complete, you can reboot the server you just restored by pressing Ctrl-Alt-Del or by executing the reboot command in the root shell.
{Note:title=Notice}Make sure you eject the Disk from the CD-ROM drive so the server will boot from the hard Disk.
{Note}
{info:title=Note}If the Disk you used for your Bare-Metal Restore is larger than the disk you backed up previously, then the free space on the new disk will remain free. You can create a new partition in this space.
{info}

----
h3. 3. Booting Windows

Once the system disk has been restored, boot Windows. 

----
h3. 4. Configuring Windows Logical Disks

Use Windows Disk Manager to configure the necessary logical disks.
{info:title=Reference}Disk Management is a system utility for managing hard disks and the volumes or partitions that they contain. Disk Management enables you to perform most disk-related tasks.
{info}
1. Run the Windows Disk Manager.

2. Create the necessary logical drives.

3. Format the created drives.

!disk-management.png!

Find more information here:
* [Disk Management in Windows XP|http://support.microsoft.com/kb/309000]
* [Disk Management in Windows Server 2008 R2|http://technet.microsoft.com/en-us/library/cc771097.aspx]
* [Disk Management in Windows 7|http://technet.microsoft.com/en-us/library/cc770943.aspx]
* [Disk Management in Windows Server 2003|http://technet.microsoft.com/en-us/library/cc737216(WS.10).aspx]

----
h3. 5. Restarting CDP Agent

Restart the Agent. See [Restarting CDP Agent].

!restart-agent.png!

----
h3. 6. Restoring Logical Disk Filesystems

Use CDP to restore logical disk filesystems.
1. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" screen.
|| Enterprise Edition || LiveCD Server, PXE Server ||
| !2_2.png! | !2.png! |

2. Select an Agent from the drop-down menu located on the "Recovery Points" list toolbar.

!04_1.png!

3. Select a Disk Safe from the drop-down menu located on the "Recovery Points" list toolbar.

!04_2.png!

4. In the "Recovery Points" list, click on the "Browse" icon in the "Actions" column for the Recovery Point from which you are going to restore.

!browse.png!
{info:title=Tip}To find a Recovery Point, you can use the Basic and Advanced List Filters. See [Customizing the Recovery Points List].
{info}
5. The "Browse Recovery Point" window opens.

!browse-rec-point.png!

See also: [Browsing Recovery Points].

6. Select the check-boxes next to the files and folders you want to restore.

!select-files-to-restore.png!

7. Once the files and folders are selected, click on "Restore Selected."

!restore-selected.png!

8. The "Restore Files" window opens.

9. Specify the following options:
* *Restore to Agent* \- Select the Agent with the logical disks you have just created.
* *Restore to Folder* \- In our example, we select "Original Location."

!restore-options.png!

10. Click "Restore."

!restore-button.png!

11. A notification window informs you that the Restore task has been scheduled. It means the Task has started. The "Reporting" screen displays the progress of the Task.

Click "OK" in the displayed window.

!restore4.png!

{info:title=Tip}The Task results can be sent via email as a Report. See [Reporting].
{info}
12. To view the Restore Task details, access the "Reporting" window. See [Accessing Task History].

!restore-history.png!
{excerpt:hidden=true}Instructions on how to run a Windows Bare-Metal Restore of Logical Disks.{excerpt}











{newversion}
With CDP Enterprise, Service Provider and Advanced Edition, you can perform a Bare-Metal Restore of Windows logical disks.

{info:title=Reference}A *logical drive* is a part of a physical disk drive that has been partitioned and allocated as an independent unit, and functions as a separate drive altogether. For example, one physical drive can be partitioned into drives F:, G:, and H:. Using the logical drive hierarchy is one method of organizing large units of memory capacity into smaller units.
{info}

----
{toc:location=top|maxLevel=3|minLevel=3|type=flat|separator=pipe|style=border:1}

----
h3. 1. Loading Agent in Recovery Mode and Installing the Server Key

Follow the instructions below to load the Agent in Recovery mode and to install the Server Key.

1. Boot the Agent from Live CD or PXE Network Boot.

2. Then you may need to [configure the network settings|Configuring Network for Bare-Metal Restore]. 

3. To add the Server Key to the Agent, run the following command on the Agent machine:

{code}#r1soft-setup --get-key [Server_URL]{code}

!r1.png!

{info:title=Note} The {{\--get-key}} function downloads the Key from the Server. For this option to work, the Server should be up and accessible from the Agent via the network.
{info}

----
h3. 2. Restoring Windows System Volume

Follow the instructions below to start the Bare-Metal Restore of the Windows system (boot) Volume.

1. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" screen.
|| Enterprise Edition, Service Provider Edition || LiveCD Server, PXE Server ||
| !2_2.png! | !2.png! |
2. Select an Agent from the drop-down menu located on the "Recovery Points" list toolbar.

!r4.png!

3. Select a Disk Safe from the drop-down menu located on the "Recovery Points" list toolbar.

!r5.png!

4. In the "Recovery Points" list, click on the "Bare-Metal Restore" icon in the "Actions" column for the Recovery Point from which you are going to restore.

!r6.png!

{info:title=Tip}To find a Recovery Point, you can use the Basic and Advanced List Filters. See [Customizing the Recovery Points List].
{info}

5. The "Bare-Metal Restore" window opens.

!Introduction_changed_English.png!

6. Look through the information on the Introduction screen and click "Next."

!next.png!

7.

{info:title=Note}
Hereinafter on this page there are some changes (for version 4.2.0). Please refer to this link, [Bare-Metal Restore Device Auto-Mapping|Bare-Metal Restore Device Auto-Mapping], explaining the new feature: Bare-Metal Restore Device Auto-Mapping.
{info}

On the next page, select the disk where the Windows system was previously installed.

!r8.png!

{info:title=Note}With version 3.18 and later versions, there is no need to restore logical disks separately from the boot partition and disk where the Windows system was previously installed.{info}
{info:title=Tip}To display filesystem properties, click on the "Plus" icon in front of the file system name. The following data is provided for each filesystem:
* *Content Type -* Either "MBR" (Master Boot Record) or a special type of filesystem. The most common filesystem types are NTFS (Windows) or EXT3 (Linux).
* *Device Path* \- The path used by the operating system to identify the hard disk or partition. In Windows, it looks like {color:blue}\\?\Volume2cb24442-fd22-11df-b57d-806e6f6e6963{color}. In Linux, it looks like {color:blue}/dev/hda{color} or {color:blue}/dev/sda{color}. The Device Path saved in the Recovery Point refers to the Device that this Recovery Point was created for. If you are performing a Bare-Metal Restore to an alternate Agent, the Device Path will be different.
* *Size* \- Size of the hard disk or partition in gigabytes.
* *Block Size* \- Minimum amount of space that can be allocated on the hard disk. This depends on the partition size and file system used and is a multiple of 512 bytes.
* *Total Blocks* \- The total number of blocks (see above) available for data on this partition
* *Allocated Blocks* \- The number of blocks allocated for data at the time the Recovery Point was created.
{info}

Click "Next" to proceed to the following step.

!next.png!

8. On the next screen, select the "*Restore to Alternate Host Name/IP*" option. Then enter the Hostname or IP address of the alternate Agent.

!r9.png!


Click "Next" to proceed to the following step.

!next.png!

9. On the "Restore Storage Configuration" screen, choose the "*Select Storage Configuration to Restore*" option.

!r10.png!

Click "Next" to proceed to the following step.

!next.png!

9.1 On the next screen, select the "*Select Partition Tables to Restore*" option. Selecting this option lets you pick partition tables from the Recovery Point to restore to the target Agent.

!r11.png!


Click "Next" to proceed to the following step.

!next.png!

After the "Select Partition Tables to Restore" option is selected, you must complete three (3) additional steps:
* *Select Partition Tables*
* *Map Partition Tables*
* *Restore Partition Tables*

h6. 9.1.1 Selecting Partition Tables

Select the partition table layout(s) for the filesystems you want to restore.

!r12.png!

{info:title=Tip}To display the partition table properties, click on the "Plus" icon in front of the partition table's name.
* *Content Type* \- Either MBR (Master Boot Record) or another special type of partition
* *Size* \- Size of the partition table in gigabytes
* *Number Of Sectors* \- Shows the total number of partition table sectors
* *Sector Size* \- The value of the sector in bytes
* *Serial Number* \- Full serial number of the partition table
* *Partitions* \- The list of partitions allocated with the partition table
{info}
Click "Next" to proceed to the following step.

!next.png!

h6. 9.1.2 Mapping Partition Tables

After choosing partition tables to restore, map the selected Partition Table(s) Recovery Points to physical disks in the Target Agent. From the drop-down menu, select the physical disks you are going to restore to.

!r13.png!

You are provided a table that allows you to map the chosen partition tables to physical disks on the target Agent. You can see as many lines in the table as the number of partition tables selected for restore. Each partition table must be mapped to a physical disk on the target Agent before proceeding.


After selecting the disks, click "Next" to proceed to the next page.

!next.png!

h6. 9.1.3 Restoring Partition Tables

Perform the partition table restore by clicking on the "Restore Partition Tables" button. Once confirmed, the Partition Table Restore will be initiated. A busy indicator will be displayed while the restore is in progress. Restoring the partition table should not take a lot of time because the partition table fits into one 512-byte sector.

!r14.png!

{info:title=Notice}Restored partition tables will overwrite the existing partition table layout on the target devices.
{info}

When the process is over, click "OK" in the notification pop-up.

!r15.png!

Click "Next" to proceed to the following step.

!next.png!


10.On the "Map Filesystems" screen, map the chosen filesystems to devices on the target host.

!r16.png!

{info:title=Note}The target device must be large enough to hold the filesystem, and each target device can only be selected once. {info}

{info:title=Note}You must select all of the filesystems for restore before proceeding. {info}
Click "Next" to proceed to the following step.

!next.png!

11. Then on the "Restore Options" screen, select the "*Reboot After Restore*" option.

!r17.png!

Click "Next" to proceed to the following step.

!next.png!

12. On the "Summary" page, you will need to confirm the selected Bare-Metal Restore options. Each selected filesystem is listed, along with the name of the target device it is being mapped to.

!r18.png!

Click "Restore" to start the Bare-Metal Restore task.

!r19.png!

13. The "Details for Bare Metal Restore" window opens. Here, you can see all the details of the Bare Metal Restore process.


!r20.png!

14. The Restore process starts and can take a while. You can go to the "Task History" screen to observe the task progress. See [Accessing Task History].

The Task History page displays the State, Alert, Type, Progress percentage, and the Started and Run Time stamps of the Bare-Metal Restore process.

!r21.png!

15. When the process is complete, you can reboot the server you just restored by pressing Ctrl-Alt-Del or by executing the reboot command in the root shell.
{Note:title=Notice}Make sure you eject the Disk from the CD-ROM drive so the server will boot from the hard Disk.
{Note}
{info:title=Note}If the Disk you used for your Bare-Metal Restore is larger than the disk you backed up previously, then the free space on the new disk will remain free. You can create a new partition in this space.
{info}

----
h3. 3. Booting Windows

Once the system disk has been restored, boot Windows. 

----
h3. 4. Configuring Windows Logical Disks

Use Windows Disk Manager to configure the necessary logical disks.
{info:title=Reference}Disk Management is a system utility for managing hard disks and the volumes or partitions that they contain. Disk Management enables you to perform most disk-related tasks.
{info}
1. Run the Windows Disk Manager.

2. Create the necessary logical drives.

3. Format the created drives.

!disk-management.png!

Find more information here:
* [Disk Management in Windows XP|http://support.microsoft.com/kb/309000]
* [Disk Management in Windows Server 2008 R2|http://technet.microsoft.com/en-us/library/cc771097.aspx]
* [Disk Management in Windows 7|http://technet.microsoft.com/en-us/library/cc770943.aspx]
* [Disk Management in Windows Server 2003|http://technet.microsoft.com/en-us/library/cc737216(WS.10).aspx]

----
h3. 5. Restarting CDP Agent

Restart the Agent. See [Restarting CDP Agent].

!restart-agent.png!

----
h3. 6. Restoring Logical Disk Filesystems

Use CDP to restore logical disk filesystems.
1. Click on "Recovery Points" in the Main Menu to open the "Recovery Points" screen.
|| Enterprise Edition, Service Provider Edition || LiveCD Server, PXE Server ||
| !2_2.png! | !2.png! |

2. Select an Agent from the drop-down menu located on the "Recovery Points" list toolbar.

!04_1.png!

3. Select a Disk Safe from the drop-down menu located on the "Recovery Points" list toolbar.

!04_2.png!

4. In the "Recovery Points" list, click on the "Browse" icon in the "Actions" column for the Recovery Point from which you are going to restore.

!browse.png!
{info:title=Tip}To find a Recovery Point, you can use the Basic and Advanced List Filters. See [Customizing the Recovery Points List].
{info}
5. The "Browse Recovery Point" window opens.

!browse-rec-point.png!

See also: [Browsing Recovery Points].

6. Select the check-boxes next to the files and folders you want to restore.

!select-files-to-restore.png!

7. Once the files and folders are selected, click on "Restore Selected."

!restore-selected.png!

8. The "Restore Files" window opens.

9. Specify the following options:
* *Restore to Agent* \- Select the Agent with the logical disks you have just created.
* *Restore to Folder* \- In our example, we select "Original Location."

!restore-options.png!

10. Click "Restore."

!restore-button.png!

11. A notification window informs you that the Restore task has been scheduled. It means the Task has started. The "Reporting" screen displays the progress of the Task.

Click "OK" in the displayed window.

!restore4.png!

{info:title=Tip}The Task results can be sent via email as a Report. See [Reporting].
{info}
12. To view the Restore Task details, access the "Reporting" window. See [Accessing Task History].

!restore-history.png!
{excerpt:hidden=true}Instructions on how to run a Windows Bare-Metal Restore of Logical Disks.{excerpt}{newversion}