1748112 Members
3532 Online
108758 Solutions
New Discussion

Change/Add backup script?

 
SOLVED
Go to solution
LindsayHill
Honored Contributor

Re: Change/Add backup script?

My guess is that the problem comes from setting exec_prompt to ->

You might be able to set it to

set exec_prompt "->"

or just

set exec_prompt >

 

tazdu77
Advisor

Re: Change/Add backup script?

thanks that was just a part of the problem,

after differents tries the save works but i've got only 20 lines of the config.

take a look

LindsayHill
Honored Contributor

Re: Change/Add backup script?

What do your logs tell you? (IMC install dir)/server/conf/logs/imccfgbakdm*

A quick guess is that it's getting truncated because it's detecting something else as the prompt, and it thinks the config is finished. Could also be a pagination problem.

If it was my network, I'd look into using SCP to back those devices up. I don't think that adapter supports SCP, but it would be trivial to add. If you're not comfortable with doing that, you should log a support case with HP. Since the adapter ships with IMC, it is presumably supported.

tazdu77
Advisor

Re: Change/Add backup script?

hi after a few modifications,  it's working properly now !

config files are attached

tazdu77
Advisor

Re: Change/Add backup script?

hi,

since i updated IMC in patch E0403P10, script is working fine but i just have 200 lines from the config,

do you know how can i force it to have all the lines from the config file ?