Using external archivers
APBackUp allows compressing source
files with built-in Zip archiver or ANY external
archiver. External Archiver Configuration is
a file with .EMC extension placed in the APBackup working
directory. This is just ordinary Windows INI file, so you can edit
it in any text editor. APBackUp allows you to edit EMC in
special "External archiver configuration editor". APBackUp comes with EMC files for some popular archivers
(WinRar, jar, WinZip, arj, ace, ...).
If you want, you can easily create
an EMC file for ANY other archiver.
For example, let's examine
WinRar.EMC file:
[Options]
Comment="WinRar"
Comment - this is just a comment. This field is
not used by APBackUp.
Ext=rar
Ext- this is an extension for
created archive file
Command="C:\program
files\Winrar\winrar.exe"
Command - the command line to
start external archiver. Usually, a local path to the executable
file. If you use EMC from distributive, enter the path valid for
your computer.
ParamStr="[ArhCommand] [RecurseSw]
[CompressLevel] [TmpDirSW] [AddWithArchiveAttr] [ClearArchiveAttr]
[Priority] -ds -ed -y -idp [ExcludeSw] [SaveNTFSRights]
"[ArchiveName]" [IncludeSW] [DeleteOriginalFile]
"
ParamStr - this line will be added as a parameter to the command line.
All substrings with [] will be replaced with certain parameters for
the tasks described below. You can use any switches not used in the
task (f.e. "-ds"). Please note quotes (") in "[ArchiveName]"
parameter: they are necessary to support long file
names.
ReplaceCommand="a"
ReplaceCommand- Replace command
for external archiver.
FreshCommand="f"
FreshCommand- Refresh command for
external archiver
UpdateCommand="u"
UpdateCommand- Update command for
external archiver
RecurseSw="-r"
RecurseSw - this switch will be
included in ParamStr if the task is configured to include
subfolders
NoRecurseSw=""
NoRecurseSw - this switch will be
included in ParamStr if the task is configured to exclude
subfolders
ExcludeSw=""-x@[ExcludeFilesList]""
ExcludeSw - switch for excluding
files from archiving.
[ExcludeFilesList] will be
replaced with the path to actual file generated by APBackUp, with
the list of files to be excluded from archive
IncludeSW=""@[IncludeFilesList]""
IncludeSW - switch for including
files for archiving.
[IncludeFilesList] will be
replaced with the path to actual file generated by APBackUp, with
the list of files to be included in archive
CompressStore="-m0"
CompressFastest="-m1"
CompressFaster="-m2"
CompressFast="-m2"
CompressNormal="-m3"
CompressSlow="-m4"
CompressSlower="-m4"
CompressSlowest="-m5"
Here you define switches to set
the compression level. Program will select compression level
specified in the task
SetTmpDir=""-w[TmpDir]""
SetTmpDir - Define temporary folder. [TmpDir]
will be replaced with Temporary folder from the Program Options
window.
AddWithArchiveAttr="-ao"
AddWithArchiveAttr - switch to be
added to command line if the task is configured with "use archive
attribute"
ClearArchiveAttr="-ac"
ClearArchiveAttr - switch to be
added to command line if the task is configured with "clear archive
attribute"
PriorityIdle="-ri1:0"
PriorityLowest="-ri7:0"
PriorityLower="-ri9:0"
PriorityNormal=-ri0:0
PriorityHiger="-ri11:0"
PriorityHigest="-ri14:0"
Here you define switches to
determine archiver thread priority. Many external archivers do not
use this option.
DeleteOriginalFile="-df"
DeleteOriginalFile - switch to be
added to command line if the task is configured with "delete source
files"
SaveNTFSRights="-os -ow"
SaveNTFSRights - switch to be
added to command line if the task is configured with "Store NTFS
rights"
|