Skip to content

Instantly share code, notes, and snippets.

@austinyearlykim
austinyearlykim / Docker File Transfer
Last active November 1, 2017 22:21
Docker Container to Host
sudo docker cp CONTAINER_NAME:/dump.sql /dump.sql;
@austinyearlykim
austinyearlykim / pg_dump
Last active November 1, 2017 22:34
via Docker Container on Postgres:VERSION_NUMBER
pg_dump -d DB_NAME -U postgres -h HOST_NAME -t TABLE1 -t TABLE2 > dump.sql