Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wp:db:save & wp:db:restore commands #11

Closed
ericclemmons opened this issue Sep 19, 2012 · 1 comment
Closed

wp:db:save & wp:db:restore commands #11

ericclemmons opened this issue Sep 19, 2012 · 1 comment

Comments

@ericclemmons
Copy link
Owner

These capistrano tasks should automate the exporting & importing of remote data on the server.

wp:db:save should export a gzip'd db dump on the specified environment & download it to the local machine under db.

wp:db:restore should upload a specified backup and import it into the remote database.

  • wordpress.db will need to be wordpress.db.mustache
  • The user should be prompted before restoring any database
  • wp:db:drop should be ran prior to restoring the db
@ericclemmons
Copy link
Owner Author

Added via 7d1751d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant