:Acronis的备份还原利器TIDOS.EXE的命令行参数详解
将Acronis TrueImage 安装目录下的TrueImageCmdDos.exe复制改名为
TIDOS.exe,启动到DOS,输入 TIDOS /help显示可用的命令参数:
X:\TIDOS.EXE - backups/restores partitions/disks.
Usage: X:\TIDOS.EXE /create|/deploy|/list
参数解释:
<命令类>
/create: 创建映像文件,即备份
/deploy: 恢复映像文件,即还原
/list: 显示磁盘分区
/help: 显示帮助信息
<参数类--用于/create和/deploy>
/harddisk: 源磁盘 (默认第1个磁盘,磁盘号始于1;可不指定,
但有多个磁盘时最好指定,用,隔开,如1,3)
/partition: 源磁盘分区(默认第1个分区,分区号始于1;可不指定,
但有多个分区时最好指定,用,隔开,并先指定磁盘,如1-1,3-2)
/filename: 映像文件名
/password: 映像文件的密码,压缩时用密码,恢复时不提供密码,会提示
Failed to open image archive.(文件打不开)
/progress: 是否显示已完成百分比进度条(取值范围:ON|OFF,默认为ON)
<参数类--仅用于/create>
/incremental: 使用增量模式(仅追加新增和改变部分,新文件/默认为新建)
/compression: 压缩率(取值范围:0-9,默认为 3,9为最高值)
/raw: 对不支持的文件系统,对磁盘/分区进行逐个扇区的原始全拷贝
(默认仅拷贝含系统/用户数据的部分扇区)
<参数类--仅用于/deploy>
/target_harddisk: 目标磁盘 (默认第1个磁盘,磁盘号始于1;不指定时同源盘,
但有多个磁盘时最好指定,用,隔开,如1,3)
/target_partition: 目标分区 (默认第1个分区,分区号始于1;不指定时同源分区,
但有多个分区时最好指定,用,隔开,并先指定磁盘,如1-1,3-2)
/start: 指定起始扇区
/size: 指定镜像大小(以扇区数为单位,不是KB/MB/GB)
/type: 指定分区类型(不指定时,第1磁盘的分区用激活型,其它盘逻辑型)
(取值范围:active|primary|logical,分别是激活|主要|逻辑型)
!!!注:为了查找/start:和/size:后的参数值,可以使用TeraByte公司的DOS版PartInfo.EXE、Ranish公司的Part.EXE等程序。
用法举例:
1. 创建镜像
TIDOS /create /filename:C:\Test\1.tib /partition:2-1,1-3
为分区 2-1和1-3 创建名为 1.tib 的镜像文件,并存到 c:\Test\ 文件夹。
TIDOS /create /filename:C:\Test\1.tib /password:qwerty /harddisk:2 /raw /incremental /compression:5 /progress: off
为磁盘 2 创建名为 1.tib 的镜像文件,存到 c:\Test\ 文件夹,使用密码 qwerty,
拷贝所有数据,压缩级别 5,不显示进程条。
2. 恢复镜像
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1
恢复镜像文件 1.tib 到分区 2-1。
TIDOS /deploy /filename:C:\Test\1.tib /password:qwerty /harddisk:2
用密码 qwerty 恢复镜像文件 1.tib 到磁盘 2。
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1 /target_partition:1-1
恢复镜像文件 1.tib 中的分区 2-1 到分区 1-1。
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1 /target_harddisk:3 /start:0 /size:64000 /type:logical
恢复镜像文件 1.tib 中的分区 2-1 到磁盘 3 的 0到64000扇区上生成的逻辑分区。
TIDOS /deploy /filename:z:\Server30Cdrive.tib /partition:1-1 /target_partition:2-1 /type:active /password:123qwe
用密码 123qwe 恢复镜像文件 Server30Cdrive.tib 中的分区 1-1 到激活分区 2-1。
3. 列举
TIDOS /list
列举可用的磁盘-分区。
4. 帮助
TIDOS /help
参考文献:
Acronis True Image 命令参数的使用.
URL:
http://www.netboy365.com/article.asp?id=74
Chapter 11. Command-line mode and scripting
User's Guide--Acronis True Image Corporate Workstation
URL:
http://us2.download.acronis.com/pdf/TrueImageCorporateWorkstation8.0_ug.en.pdf
Last edited by 本是 on 2006-3-15 at 21:16 ]
: Detailed Explanation of Command-line Parameters for Acronis' Backup and Restore Tool TIDOS.EXE
Copy the TrueImageCmdDos.exe in the installation directory of Acronis TrueImage, rename it to TIDOS.exe, boot to DOS, and enter TIDOS /help to display available command parameters:
X:\TIDOS.EXE - backups/restores partitions/disks.
Usage: X:\TIDOS.EXE /create|/deploy|/list
Parameter Explanation:
<Command Category>
/create: Create an image file, that is, backup
/deploy: Restore the image file, that is, restore
/list: Display disks and partitions
/help: Display help information
<Parameter Category - For /create and /deploy>
/harddisk: Source disk (default is the first disk, disk numbers start from 1; can be not specified, but it is better to specify when there are multiple disks, separated by commas, such as 1,3)
/partition: Source disk partition (default is the first partition, partition numbers start from 1; can be not specified, but it is better to specify when there are multiple partitions, separated by commas, and specify the disk first, such as 1-1,3-2)
/filename: Image file name
/password: Password for the image file, use password when compressing, if no password is provided when restoring, it will prompt Failed to open image archive. (File cannot be opened)
/progress: Whether to display the completed percentage progress bar (value range: ON|OFF, default is ON)
<Parameter Category - Only for /create>
/incremental: Use incremental mode (only append newly added and changed parts, new files/default is new creation)
/compression: Compression ratio (value range: 0-9, default is 3, 9 is the highest value)
/raw: For file systems that are not supported, perform a raw full copy of the disk/partition sector by sector
(By default, only the sectors containing system/user data are copied)
<Parameter Category - Only for /deploy>
/target_harddisk: Target disk (default is the first disk, disk numbers start from 1; not specified is the same as the source disk, but it is better to specify when there are multiple disks, separated by commas, such as 1,3)
/target_partition: Target partition (default is the first partition, partition numbers start from 1; not specified is the same as the source partition, but it is better to specify when there are multiple partitions, separated by commas, and specify the disk first, such as 1-1,3-2)
/start: Specify the starting sector
/size: Specify the image size (in units of sectors, not KB/MB/GB)
/type: Specify the partition type (when not specified, the partition of the first disk is active type, and other disks are logical type)
(Value range: active|primary|logical, respectively active|primary|logical type)
!!! Note: To find the parameter values after /start: and /size:, you can use TeraByte's DOS version PartInfo.EXE, Ranish's Part.EXE and other programs.
Usage Examples:
1. Create image
TIDOS /create /filename:C:\Test\1.tib /partition:2-1,1-3
Create an image file named 1.tib for partitions 2-1 and 1-3, and save it to the c:\Test\ folder.
TIDOS /create /filename:C:\Test\1.tib /password:qwerty /harddisk:2 /raw /incremental /compression:5 /progress: off
Create an image file named 1.tib for disk 2, save it to the c:\Test\ folder, use password qwerty, copy all data, compression level 5, and do not display the progress bar.
2. Restore image
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1
Restore the image file 1.tib to partition 2-1.
TIDOS /deploy /filename:C:\Test\1.tib /password:qwerty /harddisk:2
Restore the image file 1.tib to disk 2 with password qwerty.
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1 /target_partition:1-1
Restore partition 2-1 in the image file 1.tib to partition 1-1.
TIDOS /deploy /filename:C:\Test\1.tib /partition:2-1 /target_harddisk:3 /start:0 /size:64000 /type:logical
Restore partition 2-1 in the image file 1.tib to a logical partition generated on disk 3 from sector 0 to 64000.
TIDOS /deploy /filename:z:\Server30Cdrive.tib /partition:1-1 /target_partition:2-1 /type:active /password:123qwe
Restore partition 1-1 in the image file Server30Cdrive.tib to active partition 2-1 with password 123qwe.
3. List
TIDOS /list
List available disks-partitions.
4. Help
TIDOS /help
References:
Usage of Acronis True Image command parameters.
URL:
http://www.netboy365.com/article.asp?id=74
Chapter 11. Command-line mode and scripting
User's Guide--Acronis True Image Corporate Workstation
URL:
http://us2.download.acronis.com/pdf/TrueImageCorporateWorkstation8.0_ug.en.pdf
Last edited by 本是 on 2006-3-15 at 21:16 ]