cBackup / main

Releases, documentation and issue tracker
http://cbackup.me
GNU Affero General Public License v3.0
30 stars 17 forks source link

unable to backup config switch HP #56

Open mbensaid23 opened 4 years ago

mbensaid23 commented 4 years ago

Hello,

I installed cbackup for saving the configuration of my HP switches except that I cannot recover the total configuration, Can you help me please.

i have just this :

CONFIG

[24;1Hshow config Startup configuration: 41

; J9855A Configuration Editor; Created on release #

ENDOF_CONFIG

giacomorovai commented 4 years ago

Hi mbensaid23, I've some issues too to retrieve hp switch backup configuration. How did you set up jobs e workers?

mbensaid23 commented 4 years ago

Hi giacomorovai,

it's good I solved the problem, I added the screen-length disable command in device auth templates, but I have another problem with HP switches that I cannot backup the configuration because we connect in SSH the commands are limited, I do not have the show command for example

Kloetengott commented 3 years ago

Good morning,

that happened to me, too. The reason is, that CBackup is waiting for a string to recognize the command output is finished. That string is initially set to: # (command line prompt) Unfortunately # also appears in the version-description at the very start of HP-config output.

I was able to solve this quite elegant (i think). My first command is "conf t" to change into config mode. Then i put my different commands i need. The last command is "show config" The ending-string is now set to (config)#

That works very clean for different HP-Switches