Last Updated: February 25, 2016
·
1.844K
· ashmckenzie

Quick way to duplicate a database in PostgreSQL

CREATE DATABASE <new db> WITH TEMPLATE <existing db> OWNER <owner>;