Command-line mode and scripting
90
Copyright © Acronis, Inc., 2000-2005
will be created. Otherwise the program will create a complete image file. The
default value for this parameter is
“true”
.
Description:
adds a description to an image file. The comment must be a single
string (though its length is not limited.)
Split:
splits a large image file into a number of smaller files of the specified size,
which can be provided in bytes, kilobytes, megabytes, etc.
Password:
adds password protection to an image file.
11.2.3
Script usage examples
The following example illustrates the usage of a script to backup two partitions
(logical drives), C and F.
mybackup2.tib
is specified as an incremental image file.
The High compression level is selected and the image is to be split into 650MB parts
for recording to CD-R/RW media. Password protection will also be added. The entire
script must be located between the
<backup>
and
<backup/>
tags.
<?xml version="1.0" encoding="utf-8" ?>
<backup>
<source letter=”C” />
<source letter="F" />
<target file="e:\mybackup2.tib" />
<options compression="high" incremental="true"
description="this is my backup" split="650 Mb" password="" />
</backup>.
The script for backing up to tape
(tapeN
specifies the tapes numbers):
<?xml version="1.0" encoding="utf-8" ?>
<backup>
<source letter=”C” />
<source letter="F" />
<target cdrw="\taperecorder\\\.\tape0|||” />
<target cdrw="\taperecorder\\\.\tape1|||” />
<options compression="high" incremental="true"
description="this is my backup" />
</backup>.