OmniSwitch backup...

Post Reply
Spack

OmniSwitch backup...

Post by Spack »

Hi all,

I would like to backup my switch's configuration everyday I just need the file produced by the configuration snapshot all but I can't find anyway to do that :?

I first think about to log into the switch using SSH DSA public key enter the command and retreive the file by SCP.

So I put my public key in the /flash/network/pub directory and everything is allright. But when I try to pass a command directly like ssh user@host "configuration snapshot all" I get an error like :
ssh + command is not allowed
:(

Does anyone know how to backup my switch?
krzysioD

Re: OmniSwitch backup...

Post by krzysioD »

To script/automatize the process of backup you need something more that just exec ssh/telnet.
Maybe could read about expect this is very good utility to script anything under linux/unix (but you need to run backup machine with some linux or have a vmware on your pc-workstation).
I use expect to dial in, make a backup, download backup file by modem/kermit protocol and disconnect.

Maybe you should look how OV performs backups of switches (don't know OV for ALU Data equipment but it must be an option to to that).
Rens_DUP

Re: OmniSwitch backup...

Post by Rens_DUP »

Do you need the running configuration, the one in working or in certified? The configuration written on flash is stored in the files working/boot.cfg and certified/boot.cfg.

You can just connect with ftp to the swith and get them.

Regards,

Rens
Spack

Re: OmniSwitch backup...

Post by Spack »

Rens wrote:Do you need the running configuration, the one in working or in certified? The configuration written on flash is stored in the files working/boot.cfg and certified/boot.cfg.
No I need the running configuration...
krzysioD wrote:Maybe could read about expect this is very good utility to script anything under linux/unix (but you need to run backup machine with some linux or have a vmware on your pc-workstation).
Yes, I have heard about expect... I will see how can I use it...
krzysioD wrote:Maybe you should look how OV performs backups of switches (don't know OV for ALU Data equipment but it must be an option to to that).
OV? You mean OmniVista? I don't think I have it :?
Rens_DUP

Re: OmniSwitch backup...

Post by Rens_DUP »

Omnivista isn't free and it also only makes a backup of your working and / or certified directory files.

Regards,

Rens
Spack

Re: OmniSwitch backup...

Post by Spack »

OK thanks ! I'm now trying to use expect to interact with my switch...
Post Reply

Return to “OmniSwitch 6850 / 6850E”