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

Quick way to duplicate a database in PostgreSQL

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