dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
556
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

[HELP] CME 9.1 aggro

Afternoon all.
Is there any way I can back up the entire flash contents in one go?
I have ~150 files to back up, all because I want to add some custom backgrounds and ringtones to CME, but I cannot add the correct directory. The Cisco how-to says this:
Note: If the Desktops/320x212x12 directory is not found, you need to create a folder in that name using the mkdir command. 
 
Some flash file systems do not allow creating a directory with the mkdir command.
CME-CUE#mkdir flash:Desktops/320x212x12
 
Note: In that case you need to backup the flash content and format the flash using the format flash: command, and make a Class C Flash file system.
 
mkdir flash:Desktops/320x212x12 throws up an error and I've tried flash0: and flash1: as well. Seems I need to reformat my flash to a Class C Flash file system but I've got a lot of files in there, hence the question at the top.
Oh, it's a 2901 router with IOS 15.2 4 (M3)
Any ideas?
tired_runner
Premium Member
join:2000-08-25
CT
·Frontier FiberOp..

tired_runner

Premium Member

home-rtr#archive tar /create flash:test.tar flash:
archiving c1841-adventerprisek9-mz.151-4.M1.bin (47331716 bytes)
archiving c1841-adventerprisek9-mz.151-3.T4.bin (46414244 bytes)
archiving home-rtr-confg (9514 bytes)
archiving startup-config (9514 bytes)
home-rtr#
 

Then fetch your tar file via FTP:
home-rtr#copy flash:test.tar ftp://xxx:xxx@xx.17.12.xx
Address or name of remote host [xx.17.12.xx]?
Destination filename [test.tar]?
Writing test.tar !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
93767680 bytes copied in 160.108 secs (585653 bytes/sec)
 






I realize this is probably a pain in the ass to do manually on all devices, but I can't think of a different way if format and reflash is what Cisco wants you to do.
tired_runner

tired_runner to markysharkey

Premium Member

to markysharkey
If the devices don't have enough space to archive then copy from flash, you can create the archive directly to FTP:

archive tar /create ftp://user:pass@xx.17.12.xx/testtar.tar flash:
 
cramer
Premium Member
join:2007-04-10
Raleigh, NC

cramer to markysharkey

Premium Member

to markysharkey
"mkdir flash:Desktops" FIRST. If "Desktops" doesn't exist, you cannot put directories in it.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

Thanks guys. I'll let you know how it turns out on Monday when I get back to the office. Right now in the UK, it's Miller time!

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

tubbynet

MVM

said by markysharkey:

Right now in the UK, it's Miller time!

well -- its 1700 somewhere. i guess its time to have some glenfiddich.

;-P

q.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member

said by tubbynet:

glenfiddich

Glenmorangie... 18 years old
Cheers... hic...

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

tubbynet

MVM

said by markysharkey:

Glenmorangie... 18 years old

i don't drink scotch unless its legal.

q.
markysharkey
Premium Member
join:2012-12-20
united kingd

markysharkey

Premium Member


My head hurts this morning...

TomS_
Git-r-done
MVM
join:2002-07-19
London, UK

TomS_ to markysharkey

MVM

to markysharkey
I'll take some bourbon.

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

1 edit

tubbynet

MVM

said by TomS_:

I'll take some bourbon.

was out on the golf course today.
i started drinking bourbon at 0800.
then lunch with more bourbon.

now i am home (after buying the wife a new couch as an apology for traveling). i'm out of bourbon at home.
rum and coke it is.

[edited to add] alcohol leads to creativity. homemade jerk chicken and red beans and rice for dinner. add in some fried plaintains (more cuban than jamaican, i know) and you have a meal.

q.