Re: differential/incremental /var/log backups
On Thu, Jul 24, 2003 at 12:08:15PM +0200, Marcin Owsiany wrote:
> So far I can think of two solutions, but I like neither:
> - backing up WHOLE /var/log every day (level 0 each time) - this means
> larger backups
> - changing traditional rotation (file.number.gz) to something like
> file.year-month-day.gz - this means changing all rotation cronjobs
> or patching logrotate
>
> Has anyone thought of something better?
I use a non-root, chrooted syslog-ng that logs to
/var/log/syslog-ng/spool/$HOSTNAME/$YYYY/$MM/$DD/$APPLICATION
Every once in a while I bzip2 -9 all log files older than a month.
I never delete logs, atleast not automatically.
--
:(){ :|:&};:
Reply to: