10.0
Table Of Contents
- Command-line mode and scripting in Windows
- Agent for Windows command-line utility
- Supported commands
- Common options
- Specific options
- create
- filebackup
- deploy
- deploy_mbr
- filerestore
- verify
- consolidate
- export
- convert
- list
- explore
- unplug
- asz_create
- asz_delete
- clone
- trueimagecmd.exe usage examples
- Image disks and partitions
- Restore disks and partitions
- Back up files
- Restore files
- Consolidate backups
- Export backups
- Convert an image to virtual disk
- List
- Check for assigned licenses
- Acronis Secure Zone: managing backups by archive numbers
- Acronis Secure Zone: managing backups by file names
- Acronis Secure Zone: deleting backups
- Clone
- Explore image
- Storage node command-line utility
- Scripting
- Agent for Windows command-line utility
- Console mode in Linux
- Backup, restore and other operations (trueimagecmd)
- Automatic image creation using cron service
- Restoring files with trueimagemnt
33 Copyright © Acronis, Inc., 2000-2011
The pit number identifies a backup within the archive. By using pit numbers, you can export
individual backups of an archive instead of exporting it as a whole.
Exporting an archive
The following command exports the My Archive archive to the C:\Archives folder.
StorageNodeCmd /export /vault:"bsp://My Node/My Vault" /arc:"My Archive"
/target_vault:"C:\Archives"
Exporting the newest backup of an archive
The following command exports the newest backup of the My Archive archive. Such backup is
identified by the pit number 0 in addition to its own pit number. The exported backup is saved in the
C:\Archives folder in the Exported Archive archive.
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.