User Tools

Site Tools


postgresql

Duplicate Postgresql Database

To make a copy of, or duplicate, or replicate a PostgresSQL database is very easy.

Just run the following command with the postgres user account: (from http://bytes.com/forum/thread173311.html)

createdb -T olddb newdb

postgresql.txt · Last modified: 2016/03/21 07:25 (external edit)