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 export does not work #13

Closed
calevans opened this issue Mar 26, 2014 · 1 comment
Closed

wp db export does not work #13

calevans opened this issue Mar 26, 2014 · 1 comment

Comments

@calevans
Copy link
Contributor

This may be a feature request and not an issue. I'm not sure if it is supposed to work at the moment. :)

cal$ terminus wp db export --site=cals-blog
Running drush db export on cals-blog-dev
mysqldump: Can't create/write to file 'pantheon.sql' (Errcode: 13)

Cheers!
=C=

@bensheldon
Copy link
Contributor

The default "write to file" won't work because it's running remotely, but it's possible to pipe to STDOUT, which means you can run:

$ terminus wp db export - --site=cals-blog > localfile.sql

I verified this works on my own blog, but let me know if you run into any issues. I should add a section to the readme for these kinds of remote wpcli/drush gotchas.

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

2 participants