Salta al contenuto principale

ABR 11 commandline fails after upgrade from Windows server 2003 to 2008

Thread needs solution

Hi.

Several years ago, we integrated Automated Backup and Recovery, Command-line version, into our product.
We were running Windows Server 2003 Standard, SP2.
The ABR version is 11.
What we basically do is to create a Windows scheduled task that runs "acrocmd.exe", with the parameters that the user specifies.
This worked fine for quite a long time.

Recently, we upgraded our product to run on Windows Server 2008 Standard, SP2 (not 2008 R2).
ABR has basically stopped working. The version is still ABR 11.
Initially, there was a permission issue:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{BA126AD1-2166-11D1-B1D0-00805FC1270E}
to the user Macys-JW\Acronis Agent User SID (S-1-5-21-2029770719-1564284816-344417853-1028) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

We modified the Local Activation permission as suggested in the eventlog entry above.

Now, when we run acrocmd:
acrocmd backup disk
--loc="full-pathname"
--credentials="Username,password"
--arc="name-of-tib-file.tib"
--backup_comment="some-comment"
--plain_archive
--volume=C
--use_vss=auto
--log="name-of-logfile"
results are:
-
Failed to resolve the item: C.
22093844
9197DBD64A49BA59
-
-
$module
"abr11cli_vs"

Acrocmd.exe list disks returns nothing.

1) Is ABR 11 supported on Windows Server 2008? I checked the documentation, and it SEEMS to be.
2) Is there some other setup that I need to do, to get this to work.

Thanks for your time.

0 Users found this helpful

It is supported on Server 2008. Missing disks in 'list disks' command is the reason why 'c:' can't be resolved. It looks like either permissions issue (Acronis Agent User and the user that runs acrocmd must have backup operator ("backup files and folders") privilege; not sure, but i'd try to run the acrocmd in the elevated prompt or turn off UAC to see if it helps. ;
or if Acronis Agent for Windows is not installed, only Agent Core (they are listed as separate components in the list of installed software).

Fedor,
Thanks for the reply.
I ran "acrocmd list disks" in a command prompt with "Run as administrator". I still get "The operation completed successfully", but a blank result set. Same result before and after the user group changes below.

I added the Acronis Agent User 2 to the Backup Operators group. Acronis Agent User was already part of that group. Both users were already members of the Administrators group.
It looks like UAC was already turned off.
I also added user that runs acrocmd from the scheduled task to the Backup Operators group. This user was also already part of the Administrators group.

Trying to run the backup still has the same error message and code.

The following 3 Acronis products are installed:
Acronis Backup & Recovery 11 Agent Core
Acronis Backup & Recovery 11 Command-Line Tool
Acronis Backup & Recovery 11 Agent for Windows

The following Acronis services are running:
Acronis Managed Machine Service
Acronis Remote Agent Service
Acronis Removable Storage Management Service
Acronis Scheduler2 Service

Your help is appreciated.

Regards,
Joe

You can try to update snapapi driver module ( https://kb.acronis.com/content/1515 ) and perform repair install of the product.
If it an 'advanced' edition you can install management console on other machine (or on the same if it's a standalone one ) and check product logs (on 'events' tab) for errors.
As I understand, this is a testing setup - is it possible that Windows installation used in it is somewhat corrupted? It may look like 'writing off' as 'not a Acronis problem' but nevertheless. If you can reproduce it on a clean Windows install with only your product and ABR installed then that's another story.

I will try the snapapi driver update. Is the "repair install" step separate, or part of the snapapi update? The KB article that you reference doesn't mention it, directly anyway.

The environment is a production product, so it's unlikely that the Windows install is corrupt.

Thanks for your time.

Repair install is a separate action - run ABR installer (.exe file), choose 'repair' button.

I found the .bat file that does the Acronis install. It basically does:
start /wait msiexec /i AcronisAgentCore.msi TRANSFORMS=AcronisAgentCore.mst /qn REBOOT="ReallySuppress" /l* %LOGCORE%
plus similar commands for AcronisAgentWindows.msi and AcronisCommandLineTool.msi.

Can you tell me how to do a repair install in this environment, and which of these products need to be repaired? Or tell me which doc I should be looking at? I couldn't find anything in the online docs under "Product Documentation->Backup and Recovery".

Thanks again.

To repair /f (with additional modifiers) instead of /i should be used - http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx . Usually problems with disk detection requires repair of Agent for Windows component. If you can get .exe installer of ABR, I'd recommend to use it instead to perform repair.