Skip to content

Instantly share code, notes, and snippets.

@JosielFaleiros
Last active September 18, 2018 21:30
Show Gist options
  • Save JosielFaleiros/c17e34d949e6819f7ff00706949908f5 to your computer and use it in GitHub Desktop.
Save JosielFaleiros/c17e34d949e6819f7ff00706949908f5 to your computer and use it in GitHub Desktop.
export_db_NODATA_with_name_datetime.sql
mysqldump -u root -p -d DBNAME > ~/"DBNAME_nodata_$(date +"%Y_%m_%d_%I_%M_%p"
).sql"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment