Often I need to create copies of databases so I can test a new stored procedure or if what I’m doing could get in the way of other developers. The easiest way I’ve found to make a personal clone of a PostgreSQL database is by command line using psql, pg_dump and pg_restore. First back up [...]