Backup Baystack 350T

Oct 06, 2006 2 Replies

Check out rancid.

formatting link
It's cisco oriented, but it's not too difficult to copy/modify the right scripts to handle baystack devices.

Backup Baystack 350T open original image

Hello,



I'm a newbee, i want to backup with scripts Baystack 350 T. I thought of this scripts:



but after login, i don't know:



#! /usr/bin/perl -w


sub Connect { $PE = ('xxx.xxx.xxx.xxx'); $PasswordPe = ('xx'); $TimeNet = 300; #$TimeCmd = 15; $mode = "return"; $filename = "D:/nortel.txt";



use Net::Telnet (); if ($firstses = Net::Telnet->new(Host => $PE,Timeout => $TimeNet, Errmode => $mode)) { $firstses->input_log($filename); $firstses->open($PE); $firstses->waitfor('Enter Ctrl-Y to begin.'); $firstses->print("\\cY"); $firstses->waitfor('Enter Password:'); $firstses->print("$PasswordPe"); $firstses->print("g test"); # i'm in the Configuration File Download/Upload menu, with "test" for Configuration Image Filename $firstses->close; $firstses->close; }



}

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required