daily rotation does not work properly

Help
2012-05-29
2013-05-29
  • Bernd Lentes
    Bernd Lentes
    2012-05-29

    Hi,

    in my automysqlbackup.conf i have configured:
    # Set rotation of daily backups. VALUE*24hours
    # If you want to keep only today's backups, you could choose 1, i.e. everything older than 24hours will be removed.
    CONFIG_rotation_daily=3

    I think i should have now 3 backups in my daily folder. But i have 5:
    idcc-devel:~ # l /var/lib/mysql_backup_3.0/daily/gt_alleles/
    total 16402868
    drwxr-xr-x  2 root root       4096 May 28 20:04 ./
    drwxr-xr-x 10 root root       4096 May 10 21:25 ../
    -rw-r-r-  1 root root 3356019889 May 24 20:53 daily_gt_alleles_2012-05-24_20h00m_Thursday.sql.gz
    -rw-r-r-  1 root root 3356019889 May 25 20:53 daily_gt_alleles_2012-05-25_20h00m_Friday.sql.gz
    -rw-r-r-  1 root root 3356019890 May 26 20:56 daily_gt_alleles_2012-05-26_20h00m_Saturday.sql.gz
    -rw-r-r-  1 root root 3356019890 May 27 21:46 daily_gt_alleles_2012-05-27_20h00m_Sunday.sql.gz
    -rw-r-r-  1 root root 3356019889 May 28 20:52 daily_gt_alleles_2012-05-28_20h00m_Monday.sql.gz
    idcc-devel:~ #

    How can i achieve just having 3 backups ? I have a space problem.

    Thanks.

    Bernd