/ postgres

Dump PostgreSQL without owner and privileges

If you ever wanted to dump your postgres development database without the owner and the privileges, then you just need to run the following command:

pg_dump database_name -O -x > output_file
Manu S Ajith

Manu S Ajith

Tech Entrepreneur, dating Elixir, in long-term ❤️ w/ Ruby, had multiple one night stands w/ Go. Into functional paradigms DDD/CQRS/EventSourcing architecture these days. @manusajith on the interwebs

Read More