Skip to content

Instantly share code, notes, and snippets.

@kevthanewversi
Last active August 30, 2018 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevthanewversi/770203edd3f244667f2d8f3b52e9f646 to your computer and use it in GitHub Desktop.
Save kevthanewversi/770203edd3f244667f2d8f3b52e9f646 to your computer and use it in GitHub Desktop.
database dump
#!/bin/bash
mysqldump -u username -pxxxxx titandb1 --single-transaction --quick --lock-tables=false > titandb1-backup-$(date +%F).sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment