As I wrote in some posts earlier, I am working on a backupscript named Herakles. In the meanwhile I wrote a tiny shell-script which takes care of the retention. You can call this script using i.e. the crontab. So you can define the number of retention backups