I have a shell script that runs every night to backup my EC2 ... You can use the -d flag for the date ...
stackoverflow.com