Here's a script to help manage backups.