Created
November 20, 2019 15:47
-
-
Save icarrr/4e43fa52aba6d573eb40feb3b8e3ea1a to your computer and use it in GitHub Desktop.
Dump data osTicket on MySQL
This file contains 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
localTime=$(date '+%Y%m%d_%H%M%S' -d "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')") | |
mysqldump -u root -p --databases osTicket > dump-osTicket-$localTime.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment