请问可否提供 Acronis TrueImage command line 范例(免按键)

Home Home
引用 | 编辑 jjou
2004-12-17 12:01
楼主
推文 x1
请问可否提供 Acronis TrueImage command line 范例(免按键)

Do you know how to make a command line or script to backup/resto ..

访客只能看到部份内容,免费 加入会员



献花 x1
引用 | 编辑 addycat
2005-01-17 21:11
1楼
  
This doesnt need to be scripted as its a basic command. All you need to do is use the SCHEDULE feature in acronis and tell it when to make a backup image and where to make it.

=================
原厂的解答><

献花 x0
引用 | 编辑 jjou
2009-01-12 06:33
2楼
  
Acronis Support July 2nd, 2005, 05:45 AM

The only workaround I can propose you is the following:

- Start Acronis True Image and create a new task using Schedule Task wizard, but do not schedule it (on the Start Parameters page choose "Do not start automatically"). Set the name of the new task to "My Task";

- Open the \Documents and Settings\[User]\Application Data\Acronis\TrueImage\Scripts\ folder and find the script file with the following parameter inside: display name="My Task";

- Copy the script file to the \Program Files\Acronis\TrueImage folder;

- Use the following commands in the .bat file:

c:
cd \Program Files\Acronis\TrueImage
TrueImageService /script: [script name]

This should work for you.

献花 x0
引用 | 编辑 jjou
2010-04-20 09:41
3楼
  
使用几年了! Happy!!

1. 单键恢复范例 Dos 下的 Batch
TIDOS /deploy /partition:1-2 /file_partition:1-3 /filename:"\Ghost\Asus.tib"

2. 单键备份范例 Windows 下的 Batch
@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp
del /f /s /q "%userprofile%\recent\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\Application Data\Acronis\TrueImage\Logs\"
del /f /s /q %windir%\inf\*.pnf
del /f /s /q %windir%\System32\dllcache\*.*
rd /s /q "c:\Documents and Settings\LocalService"
rd /s /q "c:\Documents and Settings\NetworkService"
rem echo 清除系统完成!
@Echo Backup to D:\Ghost at High compression
TrueImageService.exe /script:Backup.tis /nowait

3. 单键备份范例 Windows 下的 Script: Backup.tis
<?xml version="1.0" encoding="utf-8" ?>
<backup>
<source letter="C" />
<target file="D:\Ghost\Asus-.tib" />
<options compression="high" incremental="false" description="Asus C drive" />
</backup>

献花 x0
引用 | 编辑 joshuajou
2017-01-31 05:12
4楼
  
在使用前复制Acronis TrueImage(以下简称ATI)
安装目录下的 TrueImageCmdDos.exe(为方便改名为TIDOS.exe)
到可启动的软盘,在虚拟机中使用此盘启动到DOS,
输入TIDOS /help显示可用的命令参数:

X:\TIDOS.EXE - backups/restores partitions/disks.

Usage: X:\TIDOS.EXE /create|/deploy|/list [/harddisk:disk1,disk2]
    [/partition:disk1-part1,disk2-part2] [/incremental]
    [/target_harddisk:disk1] [/target_partition:disk1-part1]
    [/compression:level] [/filename:filename] [/raw]
    [/password:password] [/progress:on|off]
    [/start:start] [/size:size] [/type:type]

参数解释:
    /help: 显示上述的帮助信息
    /create: 创建映像文件
    /deploy: 恢复映像文件
    /list: 显示磁盘分区
    /harddisk: 源磁盘
    /partition: 源磁盘分区
    /incremental: 使用增量映像文件
    /target_harddisk: 目标磁盘
    /target_partition: 目标分区
    /compression: 压缩率 (取值范围:0-9,默认为 3)
    /filename: 映像文件名
    /raw: ATI未知的分区格式可使用此参数
    /password: 映像文件的密码
    /progress: 是否显示进度条 (取值范围:ON |OFF,默认为ON)

用法举例:

备份C盘(第1个磁盘第1个分区)到D:\back_C.tib文件,使用映像文件为47,使用最高压缩率,命令如下:
x:\tidos.exe /create /harddisk:1 /partition:1-1 /compression:9 /password:47 /filename:d:\back_c.tib

恢复上述创建的映像文件到C盘,命令如下:
x:\tidos.exe /deploy /harddisk:1 /partition:1-1 /filename:d:\back_c.tib /password:47

  说明:
  /harddisk 默认为磁盘1,可不指定,但有多个磁盘时最好指定。
  /password 如果映像文件有密码保护,但在恢复时没有提供密码,会提示Failed to open image archive.(文件打开失败)

献花 x0