acroncmd recover disk: The optional value is null.
I need to use the command line tool to restore an entire disk from a backup which is sotred on a windows share. The access to the share seems to work fine but the following command is still producing some errors:
acrocmd recover disk --loc=\\\\192.168.1.1\\Images --credentials=winuser,winpassword --arc=test.tib --password=archivepassword --target_disk=1
after executing I will get this error here:
An error occurred while executing the command.
Error code: 0x1510008
$module = "acrocmd_glx_32256"
Tag: 0x7A8E520180FDC065
The optional value is null.
Error code: 0xAC0001
$module = "abr11cli_glx_pic_32256"
Tag: 0xA88E114E29A6ED1D
Unfortunately, this output doesn't help me anything. Some help would be very appreciated after playing around for hours I ran out of any ideas.

- Log in to post comments

Thank you for your hint my command looks now like this:
acrocmd recover disk --loc=\\\\192.168.1.1\\Images --credentials=winuser,winpassword --arc=test.tib --password=archivepassword --target_disk=1 --disk=1 --progress
Unfortunatly I'm still getting some cryptic errors:
An error ocxurred while executing the command.
Error code: 0x1510008
$module = "acrocmd_glx_32256"
Tag: 0x7A8E520180FDC065
TOL: Failed to execute the command. Recovering disks and volumes.
Error code: 0x1350016
TraceLevel = 1 (0x1)
$module = "disk_bundle_glx_pic_32256"
Tag: 0x8D165E86FB8195EA
The feature is not available.
Error code: 0x1980001
$module = "disk_bundle_glx_pic_32256"
Tag: 0x4792E32FA7DA97B3
- Log in to post comments

"The feature is not available" error means that agent has no license to perform this operation. If you work with the bootable media, it may be created without license, in this case it only recover from online storage. What happens if you use console instead of commandline tool?
- Log in to post comments

Also the GUI complains the same license issue:
The license is invalid. The recovery task will fail.
I don't understand this license issue because I created this bootable media from my installed Acronis Software. Why am I able to create one with the Media Builder if I haven't an accurate license for it? Or did I someting wrong druing creating the media?
UPDATE:
I found out if I start Acronis from CD the license issue disapear but not if I boot with PXE. Please could you explain me this behavoir?
- Log in to post comments

If you need a Linux-based bootable media (the one you use) you can download it from you Acronis account if your product is registered there.
If you need to use Media Builder (e.g. in order to create WinPE-based media) you can either install media builder on another machine without Agent for Windows installed and provide license key during media creation, or troubleshoot the existing installation. If Media Builder is installed with Agent, it will use the same keys as Agent. If there is no license, it's supposed to warn about it. So - if you go to help->about or help->'change license' on the machine where agent and Media Builder are installed, what is there? Do backups on this machine work?
- Log in to post comments

Read your update, ok, now you can disregard my previous post - but now the question - how did you upload the media components to PXE server? If you mount the .iso image and extract kernel and ramdisk from RecoveryManager folder it won't work.
- Log in to post comments

I'm very appriciated for your comment. Yes this is exactly what I'm intending to do because we haven't an Acronis PXE server I setted up an own PXE environment. Is there not a workaround to fix this? Or do I need a special license for this scenario?
- Log in to post comments

Some solutions were posted here - http://forum.acronis.com/forum/31563
- Log in to post comments

I have read all related posts of your forum link. Basicly it sounds good and I will also try those ways out but I'm not sure if those steps bring me to the final target. Therefore I tell you following my ideas:
Environment:
- limited HW platforms: we have only selected HW models with selected variation of OS
- Acronis images are all stored central on a server (access via SMB share)
- Our customers have from a few workstations up to more than 100 workstations
- Each customers needs to be easy and fast upgraded through this PXE/Acronis environment with just one visit per workstation!
Concept idea:
- Standalone Software for the PXE Server which just needs to start
- the acronis images are all stored on the same place where the PXE Server is running
- once a workstations boot from the PXE Server it should boot up as fast as possible
- the PXE boot OS also needs to support all network and storage hardware and subsystem (this is mainly covered through a new linux kernel)
now the hard part, the PXE boot OS with Acronis need to be customized like this:
- once it booted the PXE OS it should show a customized application as startup
- the customized application just ask for the workstation name and remain things are done automatically and unattended:
* select the correct image according the hw platform
* recover this acronis image with help of acrocmd
* do some post tasks
* reboot the workstation
* done!!!
I guess my concept needs to modify the ramdisk.dat. Is this possible in that way? And do I not lose the license again? Or do you have a better idea?
Thank you very much in advance for your reply!
- Log in to post comments

If you use the ramdisk originally uploaded to Acronis PXE, it won't lose licenses. As for the rest - modifying ramdisk and customizing it with your applications is not supported - it may be possible but if something goes wrong, Acronis support won't be able to help you. What you want to achieve looks more for a Acronis Snap Deploy 4 - you may check if it fits you better.
- Log in to post comments