Single command for Postgresql backup and restore
If u want to parallel dump and restore from one cluster to other u can use below statement.
pg_dump -U postgres -h source_host source-db | psql -U postgres -h Target-host Target-db
If u want to parallel dump and restore from one cluster to other u can use below statement.
pg_dump -U postgres -h source_host source-db | psql -U postgres -h Target-host Target-db
Comments
Post a Comment