On Wed 19 Mar 2008, Kenneth Lerman wrote: > Do you have daily or weekly logs? Do they get renamed when you cycle to the > next day or week? If so, then each time you cycle to the next day or week, > you generate a new copy of the log to back up. > > If you are using logrotate, use the option that names the log for the date > and doesn't rename it.
That option is "dateext". Make sure your version understands it. The "savelog" command (used at least on Debian and derivatives) also understands a "-d" option that uses a date format like logrotate, although it includes the time, not just the date (as you can call savelog more than once a day). Here also you need a suitably recent version. Paul Slootman _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
