33
Copyright © Acronis, Inc., 2000-2010
StorageNodeCmd /export /vault:"bsp://My Node/My Vault" /arc:"My Archive"
/include_pits:0 /target_vault:"C:\Archives" /target_arc:"Exported Archive"
Importing an archive
The following command imports the
Archive 1
archive from the
C:\Archives
folder to the vault.
StorageNodeCmd /import /vault:"C:\Archives" /arc:"Archive 1"
/target_vault:"bsp://My Node/My Vault"
1.2.4
Exporting vaults and importing multiple archives
To export all archives stored in a managed vault or to import all archives from a folder to a managed
vault, you can use the scripts that are provided with Acronis Backup & Recovery 10 Storage Node.
The scripts are located in the folder where the storage node is installed—by default, C:\Program
Files\Acronis\StorageNode.
Password-protected archives will be skipped during export or import.
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.