Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

docker export psql sql

docker exec -t your-db-container pg_dumpall -c -U postgres > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #export #psql #sql
ADD COMMENT
Topic
Name
3+2 =