09-17-2014 08:15 AM
can we schedule backup of cisco san switch 9148 through windows backup utility.
09-17-2014 08:21 AM
are you running DCNM ? It has built-in backup functionality, see my blog post
http://storagemonkey.wordpress.com/category/cisco/
09-17-2014 08:42 AM
no iam not using DCNM. can we schedule backup through windows backup utility some batch file type utility.
09-17-2014 08:56 AM
sure, you can write a batch/perl/powershell/whatever script that will connect to your switch and then backup the configuration. You need to decided where you are going to back it up to, possible options include TFTP, SCP, FTP, SFTP. For example i am backing to a TFTP server, my perl script connect to the switch and runs this command:
copy startup-config tftp://tfpserver-ip/mds9513.$(TIMESTAMP).config
TIMESTAMP is actually a built-in variable that will be replaced with the date/time configured on the switch.
09-18-2014 12:13 AM
can we restore the backup from the output of show running-config or we have to take backup only from this command:-
copy startup-config tftp://tfpserver-ip/mds9513.$(TIMESTAMP).config.
09-18-2014 05:24 AM
sure, you can do that. How are you going to gather that output ? If you are going to connect to the switch anyway why not send the output to a file instead of capturing output from "sh running-config" ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide