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

sql:sync does not accept a directory as a target #5183

Closed
kevinquillen opened this issue Jul 15, 2022 · 0 comments
Closed

sql:sync does not accept a directory as a target #5183

kevinquillen opened this issue Jul 15, 2022 · 0 comments

Comments

@kevinquillen
Copy link

kevinquillen commented Jul 15, 2022

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'.

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