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.

Specifies the user name and password to access the location (a managed vault or a folder) whose name is given by the target_vault option—for example: /target_credentials:”MyDomain\User A”:”My PassWd123″

When used with the export command, specifies the local or network folder where you want to export the archive—for example: /target_vault:\\Server\Share

When used with the import command, specifies the centralized managed vault where you want to place the imported archive. The vault has to be managed by the local storage node. The vault name is given as a Uniform Resource Identifier (URI)—for example: /target_vault:”bsp://My Storage Node/MyVault”

Specifies the user name and password to access the location (a managed vault or a folder) whose name is given by the vault option—for example: /credentials:”MyDomain\User A”:”My PassWd123″

When used with the list command, specifies the centralized managed vault whose archives (or the contents of an individual archive) you want to list.

When used with the export command, specifies the centralized managed vault that contains the archive to export.

In either of these cases, the vault has to be managed by the local storage node. The vault name is given as a Uniform Resource Identifier (URI)—for example: /vault:”bsp://My Storage Node/MyVault”

When used with the import command, specifies the local or network folder that contains the archive to import—for example: /vault:\\Server\Share

Exporting vaults and importing multiple archives