Last active
March 29, 2019 13:36
-
-
Save nkgokul/ef05c48d78be90550953 to your computer and use it in GitHub Desktop.
Drush SQL dump with timestamp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush sql-dump > project_dev1.$(date +%Y%m%d\-%H%M).sql | |
drush sql-dump > ${PWD##*/}-$(date +%Y-%m-%d\-%H-%M).sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment