I setup archiving on
cisco WS-C2960 ver 122-50.SE1
path ftp://login:[email protected]/backup/cc-net1-sw1_
Command 'archive config' is working and the file with config
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
Why? How to fix it?
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
kron policy-list archive-config
cli archive config