Update backup.sh

Added function for rotating backups