For more advanced use Qiling Disk Master can be controlled from the Command Line, instead of using the Windows interface.
1. Run the command line prompt as administrator. To open the Command prompt, either:
a) Click Start, right click Command Prompt and select "Run as Administrator"
Or
b) Press WIN+R to open "Run" window and type "cmd" to open it.
2. Navigate to the of Qiling Disk Master installation directory by typing in:
cd C:\Program Files\Qiling\Disk Master. If you installed the program in a different location, enter that location instead
This means open the path--“C:\Program Files\Qiling\Disk Master” which is the installation directory of Qiling Disk Master of your version. Note: the path must match the installation directory of the program you installed.
3. The options below specify all the Command line parameters that can be used to constitute a fully functional command, e.g:
DiskMasterX.exe /b new /t disk /s 0 /d "d:\disk" /n "Backup Disk0"
This commands DiskMasterX.exe to start a new disk backup and backup disk 0, next save the backup file to “D:\disk” and name the backup file as “Backup Disk0”
Syntax:
{} are the required parameters
[] are the optional parameters
Show Help
Input |
|
DiskMasterX /? |
Type “DiskMasterX /?” in Command prompt to look for help |
Output |
|
DiskMasterX { /b | /c | /r | /l | /ram | /? } |
-"DiskMasterX" has six functions, which are backup(/b), clone(/c), restore(/r), list(/l), ramdisk(/ram), and help(/?) |
DiskMasterX /l /? |
-display the complete usage of the list command |
DiskMasterX /b /? |
-display the complete usage of the backup command |
DiskMasterX /c /? |
-display the complete usage of the clone command |
DiskMasterX /r /? |
-display the complete usage of the restore command |
DiskMasterX /ram /? |
-display the complete usage of the ram disk command |
For a new backup, the required parameters are:
Parameters |
Description |
{/b} |
Specify the type of backup, it could be one of the following: new, inc, dif or full |
{/t} |
Specify the type of source, it could be one of the following: system, disk, part or file |
{/s} |
Specifies the source for the backup: |
{/d} |
Destination path for saving the backup image, e.g. /d "D:\Path\File" |
For incremental and differential backup, the required parameters are:
Parameters |
Description |
{/b} |
Specify the type of backup, it could be one of the following: inc, dif or full |
{/d} |
Specify the main file for creating incremental or differential backups from (If there is only one backup task in the directory, you can specify it as a directory), e.g. /d "d:\My Storage\disk backup" |
The following are some optional parameters:
Parameters |
Description |
[/n] |
Assign a name for the backup to distinguish it from others |
[/o] |
The compression level of the image file could be one of the following: 0, 1 or 2 |
[/e] |
Encrypt image file, e.g. /e "123" means "123" becomes the password for the image file. |
[/u] |
Username; if you backup to a network and the username is required to access the network. You may set up the username by using this parameter, e.g. /u "admin" |
[/p] |
Password; if you backup to a network and a password is required to access the network; e.g. /p "123456". |
[/m] |
Size in MB for splitting a large image file into smaller files. |
[/k] |
Backup the disk or partition in a sector-by-sector way or not, it could be decided by one of these two parameters: 0 or 1 |
[/w] |
Wait for the operation to complete, it could be decided by one of these two parameters: 0 or 1 |
For a backup restoration, the required parameters are:
Parameters |
Description |
{/r} |
restore the backup of a system, disk, partition or dynamic volume, and restore the backup of files. |
{/t} {system | disk | part| file} |
specify restore type. "system" means to restore system backup; "disk" means to restore disk backup; "part" means to restore partition backup or dynamic volume backup; "file" means to restore file backup. |
{/s}{"D:\my backup" | "\\192.168.1.1.\my backup\my backup.fvd"} |
specify the path of the image file (If there is only one backup task in the directory, you can specify it as a directory). |
[/v] |
specify to use the latest backup version to restore(because of incremental or diferential backup). The backup version corresponding to the current image file will be restored without this "/v" command. |
[/i] {"0|0:0|F|path"} |
specify the source, which means the disk, partition or dynamic volume to be restored in the image file. '/i 0' means disk 0 or dynamic volume 0; '/i 0:0' means partition 0 on disk 0; '/d F' means the destination location is partition F or dynamic F; '/i path' means file path for file restore (The last character of the directory path must be "\"); no '/i' means no need to specify the partition to be restored while performing system restore. |
[/e]{"123"} |
specify the password for the image file |
[/d]{0|0:0|D|path} |
specify the destination location to restore to. '/d 0' means destination location is disk 0; '/d 0:0' means the destination location is partition 0 on disk 0; '/d D' means the destination location is partition D or dynamic D; '/d path' means the destination location is file path; no '/d' means restore to the original location. |
[/f] {fill | original} |
adjust the size of the destination partition. "fill" means to fill the entire destination partition after restoration; "original" means to keep the same size as the source partition after restoration. This command is not available for dynamic disks. |
[/a] |
specify to use partition alignment to optimize for SSD. |
[/u] ["admin"] |
specify the user's name to access the NAS share. |
[/p] ["123"] |
specify the password to access the NAS share. |
[/x] |
specify universal restore to restore system to dissimilar hardware. It has to be used with '/t system' and '/t disk'. |
[/k] |
specify sector by sector restore. Only when the image file was backed up sector by sector, can it be restored using sector by sector restore |
[/w] {1 | 0} |
Wait for the operation to complete, it could be decided by one of these two parameters: 0 or 1. |
For cloning, the required parameters are:
Parameters |
Description |
{/c} |
clone system, disk, partition or dynamic volume. |
{/t} {system | disk | part} |
specify clone type. "system" means system clone; "disk" means disk clone; "part" means cloning patition or dynamic volume. |
[/s] {0 | 0:0 | D} |
specify the source to be cloned. No need to specify the source while performing system clone; '/s 0' means cloning disk 0; '/s 0:0' means cloning partition 0 on disk 0; '/s D' means to clone partion D or dynamic D. |
{/d} {0 | 0:0 | D} |
specify destination location. '/d 0' means the specified destination location is disk 0; '/d 0:0' means the specified destination location is partition 0 on disk 0; '/d D' means the specified destination location is partition D or dynamic volume D. |
[/k] |
specify to use Sector by sector clone. |
[/a] |
specify to use partition alignment to optimize for SSD. |
[/f]{fill | original} |
adjust the size of the destination partition. "fill" means to fill the entire destination partition after cloning; "original" means to keep the same size as the source partition after cloning. This command is not available for dynamic disks. |
[/w] {1 | 0} |
Wait for the operation to complete, it could be decided by one of these two parameters: 0 or 1. |
To list the devices, the required parameters are:
Parameters |
Description |
[/l][0] |
List disks and partitions on this computer. Use /l to show ALL disks on this computer, /l 0 or /l 1 shows partitions only of disk 0 or disk 1. |
[/l][/s "d:\backup.fvd"]|[/e]|[/u ]|[/p] |
list disk, partition, and dynamic volume. '/s' means the path of the specified image (If there is only one backup task in the directory, you can specify it as a directory); '/u' and '/p' means the users' name and password to access the specified NAS shared path; '/e' means the password of the encrypted image. |
For ram disk, the required parameters are:
Parameters |
Description |
{/ram} |
Specify the type of ram disk, it could be one of the following: new, update, start, stop, set or unset. |
{/drv} |
Drive letter for ram disk, e.g. /drv Y. |
[/sz] |
Specify size(MB) to ram disk. e.g. /sz 3000 (Free RAM space). |
[/sv] |
Save ram disk's data. e.g. /sv 1. |
[/systmp] |
Set system temporary directory to ram disk. e.g. /systmp 1. |
[/usertmp] |
Set current temporary directory to ram disk. e.g. /usertmp 1. |
Note: