Wireless Access

Reply
Occasional Contributor II
Posts: 38
Registered: ‎03-10-2011

Database Access Points Backup

Hello,

 

I don't know if it is possible to backup the database of the access points of our controller to TFTP or something like that?

Can this be done in the GUI, or in the CLI?

 

Thank you in advance

 

regards

Torenhof

Aruba Employee
Posts: 571
Registered: ‎04-17-2009

Re: Database Access Points Backup

The flashbackup.tar.gz should contain the AP database.

 

Maintenance->File->Backup Flash->Create Backup

 

Maintenance->File->Copy Files->Flash File System-> flashbackup.tar.gz 

 

Destination: TFTP/FTP/SCP

 

Then to restore it, just use the Copy Files to pull it from a TFTP/FTP/SCP as the source to the Flash File System, giving it the same name. After the upload is complete, Maintenance->File->Copy Files->Restore Flash.

 

If you want the CLI to do this, let me know.

 

Zach

Thanks,

Zach Jennings
Occasional Contributor II
Posts: 38
Registered: ‎03-10-2011

Re: Database Access Points Backup

Hi Zjennings,

 

Thank you for your answer.

Can this be scheduled as a task in CLI?

To do this on a weekly/daily basis?

 

Thanks and regards

Torenhof

Aruba Employee
Posts: 571
Registered: ‎04-17-2009

Re: Database Access Points Backup

[ Edited ]

Post edited. Wrong thread.

Thanks,

Zach Jennings
Moderator
Posts: 87
Registered: ‎04-10-2007

Re: Database Access Points Backup

I think you may have intended this for a different thread?

Aruba Employee
Posts: 571
Registered: ‎04-17-2009

Re: Database Access Points Backup


TrainerGuy wrote:

I think you may have intended this for a different thread?



Indeed, you are corect. My bad.

Thanks,

Zach Jennings
Moderator
Posts: 87
Registered: ‎04-10-2007

Re: Database Access Points Backup

Scheduling is not possible in the Web UI or the CLI.

 

By the way, another backup would be export gap-db.  (gap-db stands for global access point data base) That will create a backup on the controller flash. You can then copy it to an FTP/TFTP server.

 

Kevin

Aruba Employee
Posts: 571
Registered: ‎04-17-2009

Re: Database Access Points Backup

The backup can be scripted out. You can use Kiwi Cattools or script it out on a Linux box with a TFTP server.

 

Here are the commands I use to backup my configs via Kiwi Cattools (IP address changed to 192.168.0.25 for security reasons as to not reveal the IP address of my internal TFTP server. No, I don't use 192.168.x.x anywhere.):

 

%ctUM: Timeout 240
encrypt disable
copy running-config tftp: 192.168.0.25 %DateISO%-%DeviceName%-running-config.cfg
backup flash
copy flash: flashbackup.tar.gz tftp: 192.168.0.25 %DateISO%-%DeviceName%-flashbackup.tar.gz
local-userdb export local-userdb-export
copy flash: local-userdb-export tftp: 192.168.0.25 %DateISO%-%DeviceName%-local-userdb.bin
tar logs tech-support
copy flash: logs.tar tftp: 192.168.0.25 %DateISO%-%DeviceName%-logs.tar

 

 

I have to give credit to Colin for these commands.

 

You could also script out a restore and send those commands via Kiwi Cattools or Linux. But that would scare me.

Thanks,

Zach Jennings
Search Airheads
Showing results for 
Search instead for 
Did you mean: