April 15th, 2013, 12:06 AM
Purge & retention policy problem
I have a problem with purge & retention policy problem. I do run weekly full backups and daily incremental backups. I have set retention policy for both weekly and monthly 3M. But when I run purge in cron:
0 1 * * * /usr/bin/zrm-pre-scheduler --action backup --backup-set daily --interval daily
0 2 * * 7 /usr/bin/zrm-pre-scheduler --action backup --backup-set weekly --interval weekly
0 4 * * * /usr/bin/mysql-zrm-purge --destination /var/lib/mysql-zrm/daily --verbose --backup-set daily
0 4 * * 7 /usr/bin/mysql-zrm-purge --destination /var/lib/mysql-zrm/weekly --verbose --backup-set weekly
My weekly backups are still there according to retention policy (I have started in january and I still have january backups thare), but daily backups are kept only for one month regardless retention policy settings.
Any idea why?
I use MySQL-zrm-2.2.0-2 on Fedora 15.