Aller au contenu principal

Exporting an Entire Vault

Thread needs solution

VaultExport.js script hangs and simply doesn't work. Is there any easy way to export an entire vault without having to delete the vault in the AMS and then reattach it afterwards per KB 4925 (http://kb.acronis.com/content/4925) for "moving a vault"? I have the AMS, license server, and console on my backup server (physical 2003R2 Enterprise). I did a manual full backup of some ESX Vm's just so I can get a full backup offsite. That all went as planned. Now I need to export the entire vault to an external drive so that I can get it offsite. Per the Admin Guide I ran the following command on the server to export the centralized & managed vault named Test-Vault:

C:\Program Files\Acronis\StorageNode>cscript.exe VaultExport.js /source_vault:"bsp://aaa-backup/Test-Vault" /source_credentials:"domain\user":"password" /target_vault:"F:\Backup"

I have tried it with and without the source_credentials switch and it always hangs at the first StorageNodeCmd.exe executable where it lists the archives in the vault. But, when I run that command by itself it (below), it works fine and spits out the list of archives in the vault.

StorageNodeCmd.exe /list /vault:bsp://aaa-backup/Test-Vault

Can I just stop the Acronis Storage Node Service and copy the entire vault contents over? Will I have to script the exports of daily's, weekly's, and monthly backups? The only reason we upgraded to the new version is that the old version (True Echo, which we loved btw) didn't support 2008R2 and we had experienced a growth of several VM's more than we were licensed for (and weren't being backed up) and now we're forced into the standard client/server model without the tools to take backups offsite on a daily basis for disaster recovery. Help please.

::William Gruesbeck::

0 Users found this helpful

Hello William,

Thank you very much for posting and welcome to the forum. I will do my best to assist you.

Please accept my apologies for the inconvenience but at the moment it is not clear why this issue occurs.

The best way to resolve it would be to contact our Support team with these logs:

1. User Dumps.

2. AcronisInfo report.

3. Examples of commands and scripts you are using.

I am very confident that we will be able to resolve this issue.

Please let me know if you have additional questions.

Thank you.

That boilerplate response is less than useless. Nothing crashes so the crash/user dump doesn't apply. As for the AcronisInfo report, it does not gather ANY pertinent information in regards to this javascript "utility" because this is run independently (as DOMAIN administrator w/no GPO restrictions) in a Command prompt window and does not access the Acronis scheduled tasks and what not.

I just created a batch file to stop the storage manager service, use robocopy to copy the entire contents over to a specified location, then restart the service afterwards. At some point I may look into whats wrong with the provided javascripts and/or rewrite them in vbscript or ruby.

In the meantime I would recommend to others to try the scripts and if it works, awesome, if not then simply script it yourself (it's rather easy). I was just using this to test the kind of response I would get from the users and/or Acronis folks.

If I do rewrite or script it I'll update this post with info and a url.

::William::