I want to make backups of my switch automatically. If I send the command via CLI the switch creates a backup but if I try to run a kron job it fails.
Does somebody has an idea?
That works via CLI:
show run | redirect tftp://10.10.10.10/switch-01.cfg
This kron config does not work:
kron policy-list Backup cli show run | redirect tftp://10.10.10.10/switch-01.cfg exit kron occurrence Backup at 06:00 monday recurring policy-list Backup exit
Switch model: C2960X
IOS Version: 15.2(2)E6
Solved! Go to Solution.
could use archive as another option instead of flash use tftp , would be a better feature for backups if there is a bug in that software
Your config looks right for kron