04-14-2021 11:50 PM
I have been searching for an answer for hours but no one seems to know.
You can find similar questions here :
https://community.cisco.com/t5/switching/ios-backup-procedure-for-cisco-3850-12s-s/td-p/2980373
https://community.cisco.com/t5/switching/how-to-copy-c3850-ios-software-image-to-tftp/td-p/2907394
One Simple question
How to backup the IOS to external server ?
I'm not talking about IOS in bundle mode (.bin file). Every one can easily backup that by simple tftp commands.
I'm talking about IOS in installed mode that has been expanded to multiple .pkg files.
Is there no way to compress the multiple .pkg files back to a single .bin file for backup ?
Thanks
04-15-2021 01:54 AM
Hey!
I don't know of any way to compress the files on a Switch..
But in that secenario you would also need the file packages.conf, which describes which software is going to boot on newer Catalyst switches.
May I ask why you would want to backup those files? I don't see any need for this.
Best regards
Julian
04-15-2021 03:02 AM
04-15-2021 03:14 AM
if you installing archive install, you can keep the exiting IOS and Upgrade, Once upgrade completed you can clean up
still you like to backupo, you can use TFTP to backup config and IOS.
04-15-2021 03:23 AM
04-15-2021 03:47 AM
Personally i am not much worry about .pkg files, if you have access to Cisco softwre download, i download fresh copy and keep in USB or TFTP (i prefer USB ) each to fix the issue.
I will be more forcus on the target version upgrade (keep both the IOS in same USB fo handly to upgrade process)
make sure you backup configuraiton (out of the box good enough)
Note : make sure you read the release notes and understand the caveats.
04-15-2021 05:31 AM
Which switch do you have and from which Version to which Version are you going?
Usually I don't worry about that.
But IOS-XE has a cool feature supporting you on this.. a rollback function
If you upgrade IOS-XE, without the "commit" keyword, there will be a rollback timer active after the upgrade, default is 2 hours..
If you don't issue "install commit" within those 2 hours, the switch rolls back to the previous software.
If you have any problems on the switch after it is upgraded and commited... the best option in my opinion is using a fresh .bin file of the old version and downgrade.
Let me know what you think.
BR
Juls
04-15-2021 05:18 PM
"If you upgrade IOS-XE, without the "commit" keyword, there will be a rollback timer active after the upgrade, default is 2 hours..
If you don't issue "install commit" within those 2 hours, the switch rolls back to the previous software"
You are talking about using install mode. Right ? Since booting directly from .bin doesn't support this feature.
Didn't know about this feature though. Very Helpful thank you.
"If you have any problems on the switch after it is upgraded and commited... the best option in my opinion is using a fresh .bin file of the old version and downgrade."
So basically it all comes to downloading the image from cisco site. but no way I can upload the already installed and running image to my tftp server.
12-14-2022 10:54 AM
Hi nameless-IT. Did you ever find an answer to your question? I'm in the same boat. I'm trying to backup the IOS package from a 3850 switch so I can install it on a spare switch. Since it's using "Install Mode" the bin file isn't visible. The IOS version I'm using is no longer available for download. Thanks!
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