Shell script for a rolling three day mySQL database backup (Linux)

I am currently attempting to write a shell script to backup a MySQL database. The requirement I have is to retain only 3 days of backup files on the server. All I presently could do is to use mysqldump utility to write it to a file on the server. How do I implement a 3 day rolling backup?
