fbpx
archiving

I recently had the need to upgrade the IOS on a Cisco switch (think it was a 3750). As usual, the flash was too small so I needed to remove (and archive/save) the old IOS before putting the new one on. A lot of the images these days include HTML and other things, so are contained in folders rather than a single file. So, how do you take a backup of the image, delete it, and install the new one, without doing each file individually?

It used to be as simple as

copy flash:imagename.bin ftp://10.0.0.2/imagename.bin

Thankfully it’s no more difficult to use the archive functionality, just some new commands to learn.

To archive the files to an FTP server, use:

archive tar /create ftp://10.0.0.2/directoryname.tar flash:directoryname

To delete all of the files, including the directory, use:

delete /force /recursive flash:<directory name>

And to copy it back on to the device, and unarchive it at the same time:

Archive tar /xtract ftp://10.0.0.2/directoryname.tar flash:

We know technology can be a bother, and that’s why we are here to help with all your IT needs, no matter how big or small.

Our goal is to make sure that your business has a reliable infrastructure in place so you can focus on what matters most – running your company! 

So if you need any help at all, book a 15 minute discovery call with one of our experts today. We’ll be happy to lend a hand! 

Select Service

Discovery Call 15 minutes
Free

Select time

Select a service and date to see available times.

Tell us who we are meeting

Can we have a heads up on roughly what you want to talk about please?

Initial consult

Duration: 1 hour
Not sure what you need? Grab 60 minutes with us and we will work with you to understand your goals, and to develop a proposal and price estimate.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design

NAT: Demystified

What is NAT? NAT stands for Network Address Translation. It’s a method used for changing addresses in transit. Before we get too far into that,

Read More »