Wireless Access

last person joined: 12 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Database Access Points Backup

This thread has been viewed 1 times
  • 1.  Database Access Points Backup

    Posted Nov 18, 2011 09:55 AM

    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



  • 2.  RE: Database Access Points Backup

    EMPLOYEE
    Posted Nov 18, 2011 10:07 AM

    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



  • 3.  RE: Database Access Points Backup

    Posted Nov 21, 2011 10:01 AM

    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



  • 4.  RE: Database Access Points Backup

    EMPLOYEE
    Posted Nov 21, 2011 10:56 AM

    Post edited. Wrong thread.



  • 5.  RE: Database Access Points Backup

    Posted Nov 22, 2011 03:48 PM

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



  • 6.  RE: Database Access Points Backup

    EMPLOYEE
    Posted Nov 22, 2011 03:50 PM

    @TrainerGuy wrote:

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



    Indeed, you are corect. My bad.



  • 7.  RE: Database Access Points Backup

    Posted Nov 22, 2011 03:51 PM

    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



  • 8.  RE: Database Access Points Backup

    EMPLOYEE
    Posted Nov 22, 2011 04:00 PM

    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.