c2960: strange working for archive feature

Answered Question
May 27th, 2010
User Badges:

Hello.


I setup archiving on

cisco WS-C2960 ver 122-50.SE1


archive
path ftp://login:[email protected]/backup/cc-net1-sw1_
write-memory
time-period 1440


Command 'archive config' is working and the file with config

is created.

9027 May 26 10:17 cc-net1-sw1_May-26-10-17-16-0


Today new file was created automatically

193 May 27 09:19 cc-net1-sw1_May-27-09-19-16-1


But it is very small (193 bytes long) and his contents is empty.

!
! Last configuration change at 10:17:14 MSD Wed May 26 2010 by admin
! NVRAM config last updated at 10:17:14 MSD Wed May 26 2010 by admin
!
boot-start-marker
boot-end-marker
!
!
!
!
!
!
end


Why? How to fix it?


WBR,

Yuri Kozlov

Correct Answer by Joe Clarke about 7 years 4 hours ago

This is due to CSCtf51974.  It will be fixed in 12.2(55)SE.  As a workaround, you could schedule an archive to happen using kron.  For example, to auto-archive the config every minute:


kron occurrence archive-config in 1:0 recurring
policy-list archive-config
!
kron policy-list archive-config
cli archive config
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Joe Clarke Thu, 05/27/2010 - 07:59
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This is due to CSCtf51974.  It will be fixed in 12.2(55)SE.  As a workaround, you could schedule an archive to happen using kron.  For example, to auto-archive the config every minute:


kron occurrence archive-config in 1:0 recurring
policy-list archive-config
!
kron policy-list archive-config
cli archive config

Actions

This Discussion