new feature added: parameter --num-backups to specify number of backups to keep