Skip to content

Instantly share code, notes, and snippets.

@dragg
Last active June 14, 2020 06:36
Show Gist options
  • Save dragg/dc786e7f050e1d3b0ecb to your computer and use it in GitHub Desktop.
Save dragg/dc786e7f050e1d3b0ecb to your computer and use it in GitHub Desktop.
Homestead Update
mysqldump -u homestead -p --all-databases > "$(date '+homestead_%F_%T')".sql
1. Make backup
2. homestead update
3. homestead destroy
4. homestead up
5. Make Restory
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