We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Using sql:sync, the command docs state:
target* : A site-alias or the name of a subdirectory within /sites whose database you want to replace.
However when passing a directory as an argument instead of an alias, it errors out.
To Reproduce drush sql:sync @remote.source 'directory name in /sites'
Expected behavior SQL sync / drush would pick up the db connection info in the provided sites directory.
Actual behavior Received an error about no site alias found for 'directory name'.
The text was updated successfully, but these errors were encountered:
Fix drush-ops#5183. sql:sync does not accept a directory as a target
f2ce7a6
684a86f
No branches or pull requests
Describe the bug
Using sql:sync, the command docs state:
However when passing a directory as an argument instead of an alias, it errors out.
To Reproduce
drush sql:sync @remote.source 'directory name in /sites'
Expected behavior
SQL sync / drush would pick up the db connection info in the provided sites directory.
Actual behavior
Received an error about no site alias found for 'directory name'.
The text was updated successfully, but these errors were encountered: