Last active
June 20, 2019 18:12
-
-
Save peterjohnhunt/f197e660ed8decc383c5c028844d3ed4 to your computer and use it in GitHub Desktop.
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
| mkdir db | |
| wp db export db/backup.sql && | |
| wp @production db export - > db/latest-db.sql && | |
| wp db import db/latest-db.sql && | |
| wp option set blog_public 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment