Assign the dropbox directory to a variable
Add the database name to the backup filename
Delete backups older than 28 days from Dropbox

The delete date must be set to a multiple of the cron schedule e.g., a weekly cron schedule means data can only be deleted every 7, 14, 21, 28, etc, days.