
Copyright © Acronis, Inc., 2000-2010 31
To export all archives from a managed vault to a folder
1. Go to the folder containing the scripts.
2. Run the VaultExport.js script as follows, specifying the vault whose archives you want to export,
and the local or network folder where to export them to:
cscript.exe VaultExport.js /source_vault:"bsp://My Node/My Vault"
/target_vault:"C:\Archives"
To import all archives from a folder to a managed vault
1. Go to the folder containing the scripts.
2. Run the VaultImport.js script as follows, specifying the local or network folder from which you
want to import the archives, and the managed vault where to import them to:
cscript.exe VaultImport.js /source_folder:"C:\Archives" /target_vault:"bsp://My
Node/My Vault"
Script options
The options of the VaultExport.js script are: source_vault, source_credentials, target_vault, and
target_credentials.
The options of the VaultImport.js script are: source_folder, source_credentials, target_vault, and
target_credentials.
For either script, these options are equivalent respectively to the vault, credentials, target_vault,
and target_credentials options of the StorageNodeCmd utility.
1.3 Scripting
Scripting is intended only for backup.
1.3.1 Script execution parameters
Scripts are executed by the TrueImageTerminal.exe utility located in the Acronis Backup & Recovery
10 installation folder (i.e. C:\Program Files\Acronis\BackupAndRecovery). This utility is also used to
monitor backup progress.
TrueImageTerminal execution parameters:
TrueImageTerminal.exe [arguments]
Arguments include the following:
/help – outputs help information about TrueImageTerminal.exe parameters.
/progress – outputs the progress of backup operations run either from Acronis Backup & Recovery
10 graphics user interface, or from the script.
/execute: [script file name] – executes a script. If there are several scripts to be executed, they are
queued. An example for executing MyBackup.tis script:
TrueImageTerminal.exe /execute:C:\MyBackup.tis
/nowait – an optional script execution argument. Enables to terminate TrueImageTerminal before
backup is finished. Example:
TrueImageTerminal /execute:C:\MyBackup.tis /nowait
Komentarze do niniejszej Instrukcji