# First the log files

/var/log/zm/*log {
    weekly
    rotate 3
    notifempty
    missingok
}

# Now the weekly db backup

/var/lib/zm/zm_backup.sql {
weekly
rotate 3
missingok
compress
postrotate
/usr/bin/zmdbbackup
endscript
}
