Database Blog
Showing posts with label
PostgreSQL copy database
.
Show all posts
Showing posts with label
PostgreSQL copy database
.
Show all posts
Wednesday, 29 August 2018
PostgreSQL copy database within the same server
›
CREATE DATABASE targetdb WITH TEMPLATE sourcedb;
Postgresql Copy database to another server
›
pg_dump - C - h localhost - U localuser dbname | psql - h remotehost - U remoteuser dbname or pg_dump - C - h remotehost - U remoteuser...
›
Home
View web version