telus-agcg / nib

A Docker Compose wrapper geared towards Ruby/Rails development with a focus on: convention, convenience and productivity.
MIT License
15 stars 3 forks source link

Consider pg_dump command #156

Open jhnath90 opened 6 years ago

jhnath90 commented 6 years ago

I just ran into this issue when I was trying to dump a database locally. Maybe we should consider adding a nib command wrapper around docker exec <container_name> pg_dump -U <user> <schema_name>

blankenshipz commented 6 years ago

@jhnath90 @johnallen3d Perhaps a plugin would be the right place to put this functionality? Something like nib-pg that has a sub-command for dump?