# First the log files
/var/log/zm/*log {
weekly
rotate 3
notifempty
missingok
}
Now the weekly db backup
/var/lib/zm/zm_backup.sql {
compress
postrotate
/usr/lib/zm/bin/zm_db_backup
endscript