The Macrium Reflect knowledgebase has been upgraded.
Please go here for the latest information.

Knowledgebase

v4: Macrium Reflect DiskRestore

Expand / Collapse
 

v4: Macrium Reflect DiskRestore



DiskRestore is a utility to quickly restore Macrium Reflect disk images. DiskRestore provides the following benefits over the conventional Macrium Reflect restore process:

  • Multiple partitions (whole disks) can be restored at the same time
  • Partition placement is exactly the same as the original imaged disk.
  • Disks can be restored with a few mouse clicks.
  • Windows PE integration enables automatic/ unattended restores.

The normal Macrium Reflect restore process is a partition based restore. This enables control over partition size and placement. This flexibility comes at a cost and the restore wizard can seem overly complex for some restore tasks, plus you are restricted to restoring a single partition at a time.  With DiskRestore you simply select the partitions you want to restore and click 'Restore'.


 Get DiskRestore

DiskRestore .msi installer. This is required to run in Windows and integrate with Windows PE for unattended restores - download

DiskRestore Executable for BartPE  - download 

Note: To run DiskRestore directly from the Windows PE rescue CD just take the 'File' > 'Disk Restore' menu option in Windows PE; there's nothing to download. You must be running Windows PE v2.1.2733 or higher.




How do I use it?

  1. Start DiskRestore and click the '...' browse button to select your image file.

    By default all partitions included in the image will be selected and the target disk will also be the same as the disk originally imaged.




    In this example we are restoring a Windows 7 system. Both the 'System Reserved' and C partitions are selected.

    Click 'Restore' to start the restore process.
  2. If your restore target disk cannot be *overwritten then you will receive the following dialog, if not then the restore will begin.

    *If a disk partition contains system files then the disk cannot be dismounted and restored. In this example we are restoring both the 'System' and 'Boot' partitions for Windows 7.


     

    Automatic Boot
    - This option is only available if you have installed the Macrium Reflect Windows PE component and enabled the Windows boot menu. If selected, you only have to restart your computer and Windows PE will automatically boot.  To enable the boot menu take the 'Other Task' > 'Add Recovery Boot Menu Option' menu option in Macrium Reflect.

    Unattended Mode
    - If selected, the restore process will begin and complete automatically. The main use of this feature is to enable recovery of remote systems where you don't have physical access to the PC.

    Click "Run from Windows PE".


  3. If your image file is stored on a network share then you will receive the following dialog. Enter your network logon credentials so that Windows PE can access and read the share. 




    Click 'OK' to continue.

    You will now receive a restart dialog.


     

    Click 'Restart Now'
    to initiate the restore process.

Note: To integrate with Windows PE you must have purchased Macrium Reflect and installed v2.1.2525 (or later) of the Windows PE rescue CD .



Command line options


DiskRestore can be run from a batch file by using the following command line  options:

Usage DiskRestore <imagefile> [options]:

Generic options:
  -h [ --help ]         produce help message
-g [ --GUI ]          display the the GUI interface
-u [ --Unattended ]   when combined with GUI will start and complete the restore with no user interaction
--reboot              reboot after restore

Operation options:
  -r [ --restore ]      restores an image to a disk
-d [ --describe ]     describes disks and partitions in an image file

File options:
  --imagefile arg       full path and name of the image file
--password arg        password protecting the image file
--netuser arg         network share user name
--netpass arg         network share password

Restore options:
  --sourcenum arg        source *disk number [default 1st disk in image]
--sourceid arg         souce disk identifier [default 1st disk in image]
-p [ --partition ]     arg list of partitions to restore, e.g. -p 1 -p 2   [default - all]
--targetnum arg        target *disk number
--targetid arg         target disk identifier
-v [ --verify ]        verify image before restoring
-e [ --continue ]      continue on errors

*Note: Disk Number refers to the number displayed in the Windows Disk Management console and the DiskPart utility not the number that is displayed in Macrium Reflect. Macrium Reflect disks are numbered from 1 DiskRestore numbers the same disks from 0.

Examples:

To display the image information of file 'e:\80794226B5928CAE-00-00.mrimg'  and information on locally attached disks

diskrestore.exe  "e:\80794226B5928CAE-00-00.mrimg" -d

Example output:

File name:   e:\80794226B5928CAE-00-00.mrimg
Backup Date: 17/01/2010 10:58
Image ID:    80794226B5928CAE

Disk 5 [FF346F5E] - Samsung  S2 Portable  <596.162 GB>

  Drive     Type     Start       End   Size      Used      Free
1 [M:]  Primary      1024 625130495 174.00 MB 907.12 MB  3.284 GB  

Local Disks

Disk 0 [000139F3] - ST3500320AS SD15  <465.762 GB>
Disk 1 [4C832380] - SAMSUNG HD501LJ CR100-11  <465.762 GB>
Disk 2 [0000F9D8] - SAMSUNG HD501LJ CR100-11  <465.762 GB>

To restore all the partitions in image file 'e:\80794226B5928CAE-00-00.mrimg'

diskrestore.exe  "e:\80794226B5928CAE-00-00.mrimg" -r

To restore the first partition in image file 'e:\80794226B5928CAE-00-00.mrimg'

diskrestore.exe  "e:\80794226B5928CAE-00-00.mrimg" -r -p 1

To restore all the partitions in image file 'e:\80794226B5928CAE-00-00.mrimg' to a different disk with Disk ID '0000F9D8'

diskrestore.exe  "e:\80794226B5928CAE-00-00.mrimg" -r --targetid 0000F9D8


 


 

 

 

 

Troubleshooting
  1. The image file is part of a backup set...



    It's only possible to use DiskRestore if all parts of the image are in the same directory. If you have saved an image to multiple DVDs then copy the contents of each DVD to a single directory and try again.
  2. You are creating a clone disk...

     

    You are restoring an image to another disk and the original is still attached to your PC.

    A restored image will update the unique Disk ID ( Disk Signature ) of the disk that is being restored to. This will result in duplicate IDs if the original disk is still attached. When Windows mounts the restored disk it will update the Disk ID to make it unique. For this reason the restored disk will not be mounted after the  restore process by DiskRestore.

    Note: The Disk ID plays a crucial part in the Windows boot process and changing it will probably result in your OS being un-bootable. If a restored partition contains a Windows OS then you should remove the original disk before attempting to boot with the cloned disk attached.
  3. The target disk is too small...

     

    The destination disk is too small to contain the partitions being restored. The restored partition(s) are placed in exactly the same location as the original. If the start and/or end of a partition is beyond the reported size of the destination disk then you will receive this error.
  4. Windows PE is not installed..

     

    To use the automatic restore feature you must have purchased Macrium Reflect and installed the Windows PE component.
  5. The installed Windows PE version must be updated...



    You must have Windows PE v2.1.2525 (or newer) installed to use the Windows PE automatic restore feature. Click the 'Updates' button in the Macrium Reflect CD burn wizard to update your installation.

Note: You can also manually run DiskRestore from BartPE or from an earlier version of Windows PE.  Just run DiskRestore once booted into the rescue environment and repeat the steps above to restore your image.


 

Details
Last Modified:18 Dec 2012

Last Modified By: jon.dittman@macrium.com

Type: Feature

Level: Beginner

Article not rated yet.

Article has been viewed 59,025 times.

Options