Add maximum number of backups to ftp backup

Still need to test this