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:
-h | This help text |
-e | Execute the XML file. If no full / diff / inc qualifier is used, a full backup is performed by default. |
-v | Validate the XML file and exit |
-w | If Reflect is busy then wait until available otherwise exit immediately |
-full | Run a full backup |
-diff | Run a differential backup |
-inc | Run an incremental backup |
-pass | Password. Overrides the password saved in the xml file. |
Tip |
---|
Please note that the XML file name is the fully qualified path. |
Examples
To validate an XML file
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe -v "c:\backup.xml" |
To execute an XML file
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe -e "c:\backup.xml" |
To execute an XML file with wait if busy
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe -e -w "c:\backup.xml" |
To execute an XML file and create an incremental image
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe -e -inc "c:\backup.xml" |
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
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe "D:\901DBF91346B9A81-00-00.mrimg" -b |
To mount all partitions in an image using the next available drive letter(s)
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe "D:\901DBF91346B9A81-00-00.mrimg" -b -auto |
To mount all partitions for the last image created
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe "LAST_FILE_CREATED" -b -auto |
To mount all partitions in an image using drive letters j,k,l
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe "D:\901DBF91346B9A81-00-00.mrimg" -b -auto -drives j,k,l |
To mount all partitions in a password protected image using drive letters j,k,l
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe "D:\901DBF91346B9A81-00-00.mrimg" -b -auto -drives j,k,l -pass "PWD" |
Unmounting an image
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe [Drive Letter] -u |
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'
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe J -u |
To umnount all mounted drives
Code Block | ||||
---|---|---|---|---|
| ||||
reflect.exe -u |