beekeeper-studio icon indicating copy to clipboard operation
beekeeper-studio copied to clipboard

FEAT: Allow restoring backups to dockerized databases.

Open Futuremappermydud opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I want to use database backups that I've generated but I can't restore them with the tool.

Describe the solution you'd like A clear and concise description of what you want to happen.

I would like if the tool could connect to the docker container and execute the commands.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here. (we love screenshots with red circles if the request is for something visual)

Database type, if appropriate Does this feature only relate to a specific type of database? (eg Postgresql)

PostgreSQL in docker

Futuremappermydud avatar Jan 14 '24 01:01 Futuremappermydud

Hey @Futuremappermydud ! What behaviour are you seeing with the docker restore? I developed this feature with my database in docker, and I just now ran a backup/restore with a postgres docker container. It does require that you have pg_dump/pg_restore on the host machine though. Is that something you're wanting to avoid?

Thanks so much for using Beekeeper and filing this issue! Day

not-night-but avatar Jan 14 '24 01:01 not-night-but

Hey @Futuremappermydud ! What behaviour are you seeing with the docker restore? I developed this feature with my database in docker, and I just now ran a backup/restore with a postgres docker container. It does require that you have pg_dump/pg_restore on the host machine though. Is that something you're wanting to avoid?

Thanks so much for using Beekeeper and filing this issue! Day

Yes i was hoping it could just run docker exec with all the commands without needing it on my host machine. Didn’t know it’d still work so I’ll try it out with it installed

Futuremappermydud avatar Jan 15 '24 17:01 Futuremappermydud