I am putting in a kron function to transfer the command output from all the switches and routers on our network to a tftp server.
I have the kron occurence and policy lists set up the way I want them and have tested the redirection of the command line output to the server.
The problem I have is that I want to back up the switches 3 or 4 times once a week to compare the configs to make sure that no unwanted changes are being made over the course of the month.
Is there a way to use a variable to change the file name when it redirects? Currently when the occurence runs the file modified time on the tftp server changes but the output doesnt append as I had hoped it would, i.e one file having the config copy in to the file over and over.
Thanks for your help