|
You are here |
zevross.com | ||
| | | | |
kgrz.io
|
|
| | | | | ||
| | | | |
minhajuddin.com
|
|
| | | | | The other day, I wanted to export a sample of one of my big Postgres tables from the production server to my local computer. This was a huge table and I didn't want to move around a few GBs just to ge | |
| | | | |
jinyuz.dev
|
|
| | | | | So, I was trying to reproduce some issues and bugs that only happened in production. I needed an exact copy of the production database and run it locally. Here's how I did it using pg_dump and pg_restore. $ pg_dump -U postgres -Fc -Z 9 -j 8 production.dump -d postgres Here's the breakdown for the arguments: U means username. It's used to connect to your postgres database. In this case, my username is postgres. | |
| | | | |
daenney.github.io
|
|
| | | I blog about what catches my fancy | ||