Child pages
  • Using Macrium Reflect from the command line
Skip to end of metadata
Go to start of metadata

 

You can retrieve a prompt for all the command line arguments by simply typing reflect -h from the command line.

Running a Backup

The command line form is as follows:
reflect.exe [-v | -e [-w] [-full | -inc | -diff] [xml filename] ]
Explanations for the switches are as follows:

 

-hThis help text 
-eExecute the XML file. If no full / diff / inc qualifier is used, a full backup is performed by default.
-vValidate the XML file and exit
-wIf Reflect is busy then wait until available otherwise exit immediately
-fullRun a full backup
-diffRun a differential backup
-incRun an incremental backup
-passPassword. Overrides the password saved in the xml file.

 

 

Please note that the XML file name is the fully qualified path.

 


Examples
To validate an XML file

 


To execute an XML file

 


To execute an XML file with wait if busy

To execute an XML file and create an incremental image

 


Mounting an image

reflect.exe [Path To Image File] -b [-auto -drives [Drives[s]]  -pass [PASSWORD]]
Explanations for the switches are as follows:

 

-b Browse image 
-auto Automatically assign drive letters. If not specified then you will be prompted
-drives A comma separated list of drive letters to use. If not specified then the next available letters are used
-pass The password for protected image files

 

The image file name is the fully qualified path. If "LAST_FILE_CREATED" is specified then the last image created in the current Windows session is mounted.

Examples

To mount an image and prompt for a drive letter to use 

 


To mount all partitions in an image using the next available drive letter(s)

To mount all partitions for the last image created

 


To mount all partitions in an image using drive letters j,k,l

 


To mount all partitions in a password protected image using drive letters j,k,l

 


Unmounting an image

 

 

 


Explanations for the switches are as follows:

 

-u Unmount image 

 

If a drive letter isn't specified then all mounted images are unmmounted
Examples

To unmount an image from drive letter 'j'

 


To umnount all mounted drives