Comware

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

Script to automate backup of configs

This thread has been viewed 2 times
  • 1.  Script to automate backup of configs

    Posted Mar 26, 2021 11:47 AM

    I am trying to build a script that I can use to automate the login and backup of my configs. The issue I am running into is the initial screen gives the HPE warning then says press any key to continue. I added a key stroke to the script but it does not seem to want to run it.

    Any suggestions are appreciated

    my script is in plain text

    \

    show running-config


    #BackupAutomation
    #scripts


  • 2.  RE: Script to automate backup of configs

    EMPLOYEE
    Posted Apr 23, 2021 12:35 PM

    Hello,

    I believe you are creating script for Procurve switch.

    I am not sure which language you are using for script.

    Please see below link it may be useful for you:

    https://community.hpe.com/t5/Switches-Hubs-and-Modems/Need-to-automate-switch-config-backup/td-p/6753173#.YIL1K-gzaUk

    Thanks!