Last active
June 14, 2020 06:36
-
-
Save dragg/dc786e7f050e1d3b0ecb to your computer and use it in GitHub Desktop.
Homestead Update
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
mysqldump -u homestead -p --all-databases > "$(date '+homestead_%F_%T')".sql |
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
1. Make backup | |
2. homestead update | |
3. homestead destroy | |
4. homestead up | |
5. Make Restory |
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
mysql -u homestead -p < homestead_'datetime'.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment