<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: backing up multiple fwsm contexts in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/backing-up-multiple-fwsm-contexts/m-p/1120541#M892494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a simple Expect script to backup all the configurations using either FTP/TFTP. Cisco Security Manager (CSM) automatically does configuration management if used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic of the scripts could loosely be&lt;/P&gt;&lt;P&gt;a) Login into the admin context/switch&lt;/P&gt;&lt;P&gt;b) Save all the configs "wr mem all"&lt;/P&gt;&lt;P&gt;c) Get a list of all the configuration files, either "dir flash:" or "show run | inc disk:" would give you the file names. &lt;/P&gt;&lt;P&gt;d) Parse the output from above and backup using the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSystem Configuration:&lt;/P&gt;&lt;P&gt;copy /noconfirm running-config t&lt;A class="jive-link-custom" href="ftp://x.x.x.x/backup-running-config" target="_blank"&gt;ftp://x.x.x.x/backup-running-config&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Context Configuration: Repeat the command for each context configuration file&lt;/P&gt;&lt;P&gt;copy /noconfirm disk:$Context_file.cfg  t&lt;A class="jive-link-custom" href="ftp://x.x.x.x/" target="_blank"&gt;ftp://x.x.x.x/&lt;/A&gt;$Context_file.cfg&lt;/P&gt;&lt;P&gt;disk:$Context_file.cfg  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTP syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy disk:[path/]filename &lt;A class="jive-link-custom" href="ftp://" target="_blank"&gt;ftp://&lt;/A&gt;[user[:password]@]server[/path]/filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TFTP may not be good for large config files and FTP would be a good alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 17:24:11 GMT</pubDate>
    <dc:creator>vvarakan</dc:creator>
    <dc:date>2008-12-10T17:24:11Z</dc:date>
    <item>
      <title>backing up multiple fwsm contexts</title>
      <link>https://community.cisco.com/t5/network-security/backing-up-multiple-fwsm-contexts/m-p/1120540#M892493</link>
      <description>&lt;P&gt;Wanted to get some feedback on general practices of backing up multiple contexts on fwsm's in an enterprise / service provider environment.  TFTP / FTP / Ciscoworks and/or other software available.  Pro's / Con's are welcomed feedback as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 14:24:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/backing-up-multiple-fwsm-contexts/m-p/1120540#M892493</guid>
      <dc:creator>pallette</dc:creator>
      <dc:date>2019-03-11T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: backing up multiple fwsm contexts</title>
      <link>https://community.cisco.com/t5/network-security/backing-up-multiple-fwsm-contexts/m-p/1120541#M892494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a simple Expect script to backup all the configurations using either FTP/TFTP. Cisco Security Manager (CSM) automatically does configuration management if used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic of the scripts could loosely be&lt;/P&gt;&lt;P&gt;a) Login into the admin context/switch&lt;/P&gt;&lt;P&gt;b) Save all the configs "wr mem all"&lt;/P&gt;&lt;P&gt;c) Get a list of all the configuration files, either "dir flash:" or "show run | inc disk:" would give you the file names. &lt;/P&gt;&lt;P&gt;d) Parse the output from above and backup using the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSystem Configuration:&lt;/P&gt;&lt;P&gt;copy /noconfirm running-config t&lt;A class="jive-link-custom" href="ftp://x.x.x.x/backup-running-config" target="_blank"&gt;ftp://x.x.x.x/backup-running-config&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Context Configuration: Repeat the command for each context configuration file&lt;/P&gt;&lt;P&gt;copy /noconfirm disk:$Context_file.cfg  t&lt;A class="jive-link-custom" href="ftp://x.x.x.x/" target="_blank"&gt;ftp://x.x.x.x/&lt;/A&gt;$Context_file.cfg&lt;/P&gt;&lt;P&gt;disk:$Context_file.cfg  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTP syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy disk:[path/]filename &lt;A class="jive-link-custom" href="ftp://" target="_blank"&gt;ftp://&lt;/A&gt;[user[:password]@]server[/path]/filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TFTP may not be good for large config files and FTP would be a good alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 17:24:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/backing-up-multiple-fwsm-contexts/m-p/1120541#M892494</guid>
      <dc:creator>vvarakan</dc:creator>
      <dc:date>2008-12-10T17:24:11Z</dc:date>
    </item>
  </channel>
</rss>

