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
Unable to pull database from platform.sh if more than one exists #4415
Comments
Also reported in but it's better here. |
A good first start for this is to document what is needed to get the DB is such a case. It is not as "fancy" as pull, but it would make it easier for people. It might also be possible to imporve on the work done on #4180 In any case, documentation is gonna be my first step here. |
Currently |
I can't say if |
What would be nice here is to be able to forward options, or at least to specify which database you want (here |
@lolautruche the PR downloads all databases, and allows you to specify which one should go into 'db' if you want. Would love to have you try it out, |
Is there an existing issue for this?
Run a Diagnostic and Paste Link Here
It passes, but contains several project/client names so I haven't uploaded it. I can do so if absolutely required.
Expected Behavior
ddev pull platform --skip-files
should be able to fetch and import a database dump.Actual Behavior
When more than one DB is configured,
platform
expects a parameter for which DB to work with.Steps To Reproduce
.platform.app.yaml
ddev pull platform --skip-files
Anything else?
This fails (from inside DDEV):
This works (from inside DDEV):
See the
-r database
at the end (stands for--relationship
).I understand this is an edge case, but it happened to me so it made sense to file it.
The text was updated successfully, but these errors were encountered: