請問可否提供 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