[Dirvish] Excessively Long backups on a Postfix Mailder vault with Dovecot as the IMAP server
Paul Slootman
paul at debian.org
Wed Mar 19 18:24:10 UTC 2008
On Wed 19 Mar 2008, Damian Cunniff wrote:
> 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.
> Would I do this because I am trying to limit the number of files that
> are created? I'm not sure I understand the reason for doing this.
If the filename doesn't change every night, it doesn't have to be
backupped again every night. Traditional log rotation moves x.log.1.gz
to x.log.2.gz etc.
Paul
More information about the Dirvish
mailing list