Network Management

Reply
MVP
Posts: 344
Registered: ‎05-09-2013

AirWave Restore From Backup

Trying to restore from a backup and having some issues with the amp_restore script. 

 

Copied the nightly_backup001.tar.gz file to new server in tmp directory, logged in as root and typed "scripts" to get to the scripts prompt. Then I ran the following command:

./amp_restore -d /tmp/nightly_data001.tar.gz.

 

Then we get the error:

bash:./amp_restore:no such file or directory

 

Any idea why it wouldn't be able to find that script? 


Michael Haring | Senior Network Engineer
Comm Solutions, an Optiv Security Company
www.commsolutions.com | www.optiv.com
MVP
Posts: 344
Registered: ‎05-09-2013

Re: AirWave Restore From Backup

We identified that the end-user had created custom logins for the CLI and we were being put in a different home directory, we backed out to the top level using 'cd ..' and tne worked our way back to the original location using 'cd ~', 'cd svn', 'cd mercury' and 'scripts'.

 

We are now trying to run the amp_restore and getting error stating:

 

gzip: stdin: not in gzip format

/bin/tar: Child returned status 1

/bin/tar: Error is not recoverable: existing now

No system bandwidth rrd found, assuming normal amp restore at ./amp_restore line 70.

Verifying completeness of /tmp/night_data001.tar.gz...

 

We tried running 'root; make' to build the rrd file, but didn't work because we are running RHEL and not CentOS. 

 

Any ideas?


Michael Haring | Senior Network Engineer
Comm Solutions, an Optiv Security Company
www.commsolutions.com | www.optiv.com
Guru Elite
Posts: 20,576
Registered: ‎03-29-2007

Re: AirWave Restore From Backup

TAC.

 

You have too many variables...



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

MVP
Posts: 344
Registered: ‎05-09-2013

Re: AirWave Restore From Backup

We have opened a case and will update once we have a resolution or cause.

 

Thanks.


Michael Haring | Senior Network Engineer
Comm Solutions, an Optiv Security Company
www.commsolutions.com | www.optiv.com
MVP
Posts: 344
Registered: ‎05-09-2013

Re: AirWave Restore From Backup

Turns out the nightly backup we downloaded was corrupted or did not contain all required files. Did manual backup and had no issues.

Restore is now complete. Also I think manual
backup is recommended.

Michael Haring | Senior Network Engineer
Comm Solutions, an Optiv Security Company
www.commsolutions.com | www.optiv.com
Search Airheads
Showing results for 
Search instead for 
Did you mean: