06-06-2019 08:43 AM
Setup kron jobs to backup / redirect configs on specific days:
sh run | s kron
kron occurrence friday_backup at 22:30 Fri recurring
policy-list friday_backup
kron policy-list friday_backup
cli show running-config | redirect tftp://192.168.XX.XXX/$h-$t_running_friday_config
cli show startup-config | redirect tftp://192.168.XX.XXX/$h-$t_startup_friday_config
show kron schedule
friday_backup inactive, will run again in 1 day 08:49.16 at 22:30 on Fri
Any ideas on the inactive status when I have the recurring command?
06-08-2019 11:19 AM
Hello Averill,
I think your configuration is correct
>> friday_backup inactive, will run again in 1 day 08:49.16 at 22:30 on Fri
It is telling you that the task is not running now (=inactive) but it will be executed on Fri at 22:30 that is what you want.
So you should not have any real issue here.
Hope to help
Giuseppe
06-10-2019 02:16 PM
I figured it was close to right, and I agree that by it showing inactive it is going to run on specified date / time. My confusion comes in that I don't have any backups to show on my tftp server.
06-11-2019 04:52 AM
Hello Averill,
if I have correctly understood there are no files uploaded on the TFTP server.
Can you check if you can upload a configuration file manually using
copy startup-config tftp: ?
What kind of operating system is on the server ?
Can it be a question of missing rights to write files in the TFTP working directory ?
Hope to help
Giuseppe
06-11-2019 08:47 AM
It's running windows 10. I can tftp the config over to it manually. The job works for about a week then it dies out. I have a weeks worth of configs and then nothing.
A few caveats, the destination is virtual but there is definitely a path as I can ssh no problem. I can tftp the config also no issues there.
Do you have any other ideas, anything outside the box that I could try?
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