Skip to content

0L-Analytics/ol-analytical-research

 
 

Repository files navigation

ol-analytical-research

Dump a docker postgres db to a file

docker exec -t <container> pg_dumpall -c -U <user> | gzip > ./path/dump_all.gz

Restore a backup to a docker postgres db

gunzip < ./path/dump_all.gz | docker exec -i <container> psql -U <user> -d <database>

About

A repo for ad-hoc requests, test code and try-outs.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Assembly 97.7%
  • Jupyter Notebook 2.3%