/explore
|
You are here |
zevross.com | ||
| | | | |
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 |
|
| | | | | ||
| | | | |
stribny.name
[AI summary] The article provides a step-by-step guide on automating PostgreSQL database backups and restores using Ansible playbooks and modules. |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
michalzuber.wordpress.com
I wanted to backup content of a paid subscription on a WordPress site After some ChatGPT prompts and Googling I ended up with the following https://gist.github.com/mikaelz/8d1e05f346db115f7474f192e92fbbf5 |
|
| | | |||