deivisonarthur
5/15/2013 - 7:45 PM

cronbkp.sh

#Deivison Arhur

# Formato da data dd-mm-yyyy format
backup_date=`date +%Y_%m_%d_%H_%M`

mysqldump -h seuRDS.rds.amazonaws.com -uuser -psenha --single-transaction banco | gzip -9 >  db1.${backup_date}.gz