Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment