[SOLVED] Problems with acrocmd
I'm playing around with scripting ABR so that I can add some post commands to my backup plans to perform certain tasts. In starting out, I'm trying to get a list of all the archives in a specific vault, but I'm getting an error that doesn't make sense.
I'm wanting the Storage Node Service to respond to the command as I do not have the windows agent running on the storage node since that would require extra licenses to do so and it's not really needed.
Here's what I have:
---
C:\Program Files (x86)\Acronis\CommandLineTool>acrocmd.exe list archives --servi
ce=asn --loc=bsp://offshore/SN_Offsite --credentials="ASN User",password
An error occurred while executing the command.
Error code: 0x1510008
$module = "acrocmd_vs"
Tag: 0x7A8E520180FDC06B
Failed to retrieve the archive list.
Error code: 0x1510028
$module = "abr11cli_vs"
Tag: 0x7B70ED3E0C386D12
Error code: 0x151002B
$module = "acrocmd_vs"
Tag: 0xADB08DFD02B2C137
Failed to resolve the backup archive.
Error code: 0x15B0010
$module = "dms_asn_item_provider_vsa64"
Tag: 0xDC03ECC21410E5E0
Failed to obtain archives in vault 'bsp://offshore/SN_Offsite'.
Error code: 0x270044
$module = "storage_server_vsa64"
Tag: 0xB6BF211AB3248B1B
Failed to open the backup location.
Error code: 0x40002E
IsReturnCode = 1 (0x1),
$module = "storage_server_vsa64"
Tag: 0x3F26773FAB7BD9ED
Failed to open the backup location.
Error code: 0x40002E
path = "file:E:\offsite\",
$module = "storage_server_vsa64"
Tag: 0x3F26773FAB7BD9ED
Error occurred while creating the file.
Error code: 0x4000A
function = "CreateDirectoryW",
filename = "\\?\E:\offsite",
$module = "storage_server_vsa64"
Tag: 0xF35F747B3B21F986
The system cannot find the path specified
Error code: 0xFFF0
code = 2147942403 (0x80070003),
$module = "storage_server_vsa64"
Tag: 0xBD28FDBD64EDB8E0
---
I've tried using the fully qualified domain name for the storage node and not, but I still get the same error.
This vault on a separate storage node has the path: E:\offsite\test so why is it not using the full path? Only part of the path is reported in the error message even.
I'm executing the command from the AMS machine which is a Windows 2008 Server. The remote storage node is also a Windows 2008 Server.
Anyone have any ideas?

- Log in to post comments

Works for me on build 17437. What is the build number? Is it a new vault just created, or are there any backups, or was it attached ?
- Log in to post comments

Same build. I'm wondering if it's a userid issue. I have a backup userid in our domain which is used to run the AMS and MMS agents. The ASN runs as the 'ASN User' and whatever default password Acronis has. I'm attempting to access the list with the backup (Active Directory) user we have as it has full privs etc. It's what all our backups are accessed with and what I type in to access the vaults. So I'm wondering at this point if I should run the Storage Node service as that user instead of the ASN user.
So actually, I'm doing things like this:
acrocmd.exe list archives --all --service=asn --loc=bsp://offshore/SN_Offsite --credentials="domain\userid",password
All I get are errors.
If I try to list the backups since I know the backup name, I get this:
---
acrocmd.exe list backups --service=asn --loc=bsp://storagenode.somewhere.com/SN_Testing --credentials="domain\domainuser",password --arc="sntiDev_Archive(1)"
An error occurred while executing the command.
Error code: 0x1510008
$module = "acrocmd_vs"
Tag: 0x7A8E520180FDC06B
Failed to retrieve the archive list.
Error code: 0x1510028
$module = "abr11cli_vs"
Tag: 0x8611F9A1F15D4617
Failed to retrieve the list of backups.
Error code: 0x151002E
$module = "abr11cli_vs"
Tag: 0x8611F9A1F15D45DD
Error code: 0x151002B
$module = "acrocmd_vs"
Tag: 0xADB08DFD02B2C137
Failed to resolve the backup.
Error code: 0x15B0016
$module = "dms_asn_item_provider_vsa64"
Tag: 0xDC03ECC21410E613
Failed to obtain backups in vault 'arl:/FA8D6FED-9C2E-4E34-9C4C-8833978477E3/CCD
41792-2F9F-4048-9262-B48862377A37/8B4EF217-15DA-416A-B94B-E029E89C65C3'.
Error code: 0x270046
$module = "storage_server_vsa64"
Tag: 0xB6BF211AB3248B63
Cannot find location.
Error code: 0xA10015
$module = "storage_server_vsa64"
Tag: 0x9FC3EE39511C2A95
Failed to obtain information about vault 'arl:/FA8D6FED-9C2E-4E34-9C4C-883397847
7E3/CCD41792-2F9F-4048-9262-B48862377A37'.
Error code: 0x27003B
IsReturnCode = 1 (0x1),
$module = "storage_server_vsa64"
Tag: 0xAF0695FA9D426DB8
Unknown vault 'CCD41792-2F9F-4048-9262-B48862377A37'.
Error code: 0x270006
$module = "storage_server_vsa64"
Tag: 0xAF0695FA9D426C32
---
so it's able to find the vault...but still not do anything about it. YET, I know it's there (see attached).
Attachment | Size |
---|---|
115264-104443.png | 48.46 KB |
- Log in to post comments

Additionally, I get these errors at times as well on that same storage node:
---
acrocmd.exe list archives --service=asn --loc=bsp://storagenode.somewhere.com/SN_Testing --credentials="domain\domainuser",password
An error occurred while executing the command.
Error code: 0x1510008
$module = "acrocmd_vs"
Tag: 0x7A8E520180FDC06B
Failed to retrieve the archive list.
Error code: 0x1510028
$module = "abr11cli_vs"
Tag: 0x7B70ED3E0C386D12
Error code: 0x151002B
$module = "acrocmd_vs"
Tag: 0xADB08DFD02B2C137
Failed to resolve the backup archive.
Error code: 0x15B0010
$module = "dms_asn_item_provider_vsa64"
Tag: 0xDC03ECC21410E5E0
Failed to obtain archives in vault 'bsp://storagenode.somewhere.com/SN_Testing'.
Error code: 0x270044
$module = "storage_server_vsa64"
Tag: 0xB6BF211AB3248B1B
Location URI 'E:\testing' is invalid.
Error code: 0xA1000D
IsReturnCode = 1 (0x1),
$module = "storage_server_vsa64"
Tag: 0xC34A6F9AD1E8711E
Location URI 'E:\testing' is invalid.
Error code: 0xA1000D
$module = "storage_server_vsa64"
Tag: 0xC34A6F9AD1E8711E
Failed to open the backup location.
Error code: 0x40002E
path = "file:E:\",
$module = "storage_server_vsa64"
Tag: 0x3F26773FAB7BD9ED
The specified file does not exist.
Error code: 0x40011
function = "CreateDirectoryW",
filename = "\\?\E:",
$module = "storage_server_vsa64"
Tag: 0xF35F747B3B21F986
The system cannot find the file specified
Error code: 0xFFF0
code = 2147942402 (0x80070002),
$module = "storage_server_vsa64"
Tag: 0xBD28FDBD64EDB8E0
--
so it's saying the location is invalid, but as you can see from the previous screenshot, it is valid. What gives?
- Log in to post comments

ok, that seems to do it. I need to run the storage node service as the active directory user, then I can do all the commands. I have some more questions, but they will be in a separate thread.
- Log in to post comments