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

ddev snapshot restore should take either full name of snapshot or shortname #3570

Closed
shaal opened this issue Feb 4, 2022 · 1 comment
Closed
Milestone

Comments

@shaal
Copy link
Collaborator

shaal commented Feb 4, 2022

Describe the bug

I can no longer restore snapshots with the same name I used when I created them.

Previously, (up until ddev v.1.18), I could backup and restore snapshots with these commands:
Create new snapshot - ddev snapshot -n name_of_snapshot
Restore a snapshot - ddev snapshot restore -n name_of_snapshot

In ddev v1.19 alpha3, the snapshot's name has a new suffix, of the db-type and db-version:
e.g. name_of_snapshot-mariadb_10.3.gz

To Reproduce

Run these commands, in ddev v1.18 it works, but in ddev v1.19 that functionality is broken -
ddev snapshot -n hello-world
ddev snapshot restore -n hello-world

Expected behavior

Similar to version 1.18, I think users expect using the same name in snapshot backup and restore commands.

@rfay rfay changed the title ddev snapshot restore -n name_of_snapshot is broken in ddev v1.19 ddev snapshot restore should take either full name of snapshot or shortname Feb 4, 2022
@rfay
Copy link
Member

rfay commented Feb 4, 2022

I agree this is some friction that should be removed. Thanks for testing, and thanks for the issue!

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