Qiling Disk Master can be controlled from the Command Line, allowing for more advanced use, instead of relying on the Windows interface.
1. To open the Command prompt as administrator, follow these steps:
To run Command Prompt as an administrator, click Start, right-click on Command Prompt, and select "Run as Administrator" from the context menu.
Or
Press the Windows key + R to open the "Run" window, then type "cmd" to open the Command Prompt.
2. Navigate to the installation directory of Qiling Disk Master by typing in the command to change the directory to the desired path.
Go to the "C:\Program Files\Qiling\Disk Master" directory, replacing "C:\Program Files\Qiling\Disk Master" with the actual location where you installed the program.
This means open the path--To run Qiling Disk Master, navigate to the installation directory, which is "C:\Program Files\Qiling\Disk Master", and execute the program from there. The path should match the directory where the program was 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} |
I'll rewrite the text in one paragraph shortly. However, I need you to specify the type of backup, which could be one of the following: inc (incremental), dif (differential), 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] |
If you back up your data to a network location that requires a password to access, you can specify the password in the backup settings using the format /p "password". For example, if the password is "123456", you would enter it as /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] |
To restore from the latest backup version, you can specify the "/v" command in the restore operation, which will override the version corresponding to the current image file. This will restore the backup version that was taken after the current image file was created, due to the incremental or differential backup. Without the "/v" command, the backup version corresponding to the current image file will be restored. |
[/i] {"0|0:0|F|path"} |
The command to restore an image file to a specified source, such as a disk, partition, or dynamic volume, and destination location, such as a partition or dynamic volume, is specified using the '/i' option. For example, '/i 0' restores to disk 0, '/i 0:0' restores to partition 0 on disk 0, and '/d F' restores to partition F or dynamic volume F. If the destination is a file path, it should end with a backslash. |
[/e]{"123"} |
specify the password for the image file |
[/d]{0|0:0|D|path} |
To specify the destination location for a restore operation, use the '/d' option followed by the relevant information. For example, '/d 0' indicates that the destination is disk 0, '/d 0:0' specifies partition 0 on disk 0, '/d D' means partition D or dynamic D, and '/d path' designates a specific file path. If no '/d' option is provided, the restore will be performed to the original location. |
[/f] {fill | original} |
The command to resize the destination partition after a restoration, with options to either fill the entire destination partition or keep the same size as the source partition, 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] |
To restore a system to dissimilar hardware using Acronis Universal Restore, specify it in the command line with '/t system' and '/t disk' options. This allows the system to be restored to a different hardware configuration. |
[/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} |
The command allows adjusting the size of the destination partition after cloning, with options to "fill" the entire destination partition or keep the same size as the source partition. This feature is not available for dynamic disks. |
[/w] {1 | 0} |
The operation will be completed when one of these two parameters is 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} |
The command `ramdisk` followed by one of the following options: `new`, `update`, `start`, `stop`, `set`, or `unset`. |
{/drv} |
Drive letter for ram disk, e.g. /drv Y. |
[/sz] |
To create a RAM disk, you can use the command `/sz |
[/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: