Trusted Contributor.
Trusted Contributor.

Download snapshots to Disk

I am using NA version 2018.08, I am trying to backup all devices snapshots to disk, I got a perl script to do it "config_export_new.pl", I used this script in older version and it was working, but on current version, it gives the below error.

The user used in script is admin user

script attached

*** NAS(tm) Configuration Export Utility ***

Status: Checking devices...
*** error: SOAP transaction failure: Server Error - Unable to login with username 'u:ejada:u'
Did you supply valid arguments?
re-run this script with '--help' for assistance.

3 Replies
Acclaimed Contributor.
Acclaimed Contributor.


You having any other script issues, or have just tried this one?  Any problems logging into proxy just by itself?  

You say 2018.11, this is for stand-alone NA, not NOM / CDF, correct?  

While not your script, I can connect to our lab box and ours is a OOB install, nothing really changed.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<nas:loginResponse xmlns:nas="http://hp.com/nas/10/10">
<nas:Status>200 Logged in</nas:Status>

You running the script from the core?  Perhaps firewall / man-in-the-middle issue?  

Acclaimed Contributor.
Acclaimed Contributor.

Hi @Mustafa ALi ,


I posted a updated version of the script here:


Pedro A. Batista
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the THUMB at the bottom left of the post and show your appreciation.
Trusted Contributor.
Trusted Contributor.

Yes I can login to proxy server from local core.

it is standalone HS NA, proxy working on SSH only on port 8122.

I am using the latest script, I changed the following parametrs for SSH but still not working.

my $nas = Opsware::NAS::Client->new();

my $res = $nas->login(-user => $user, -pass => $pass, -host => $host, -port => '8122', -ssh => 'true');

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.