Q: migrating from serverA(gentoo) to serverB(centos) 8.2.4 - Mailing list pgsql-general

From Ow Mun Heng
Subject Q: migrating from serverA(gentoo) to serverB(centos) 8.2.4
Date
Msg-id 1191574006.22907.17.camel@neuromancer.home.net
Whole thread Raw
List pgsql-general
What's the best method for migrating data from my laptop to the final
server DB?

The data currently in my laptop is using SQL_ASCII encoding and the
deployment target is defaulted to using UTF-8. (should not be a concern
as the encoding should be handled via the dump right?)

However a concern would be that in my laptop, due to space consideration
etc, I have 3 tablespaces, dbspace2,dpspace3 and default. In the dump
(I did a
pg_dump -Upostgres hmxmms | ssh user@server "cat > /tmp/pgdatadump" )

I've tried to use pg_dump dbname | psql -h otherserver dbname but I keep
getting a connection refused w/ a statement saying that the server DB
may be allowing connections. (I can connect dine using psql -h
otherserver dbname fine w/o the pipe)




pgsql-general by date:

Previous
From: Benjamin Arai
Date:
Subject: Slow TSearch2 performance for table with 1 million documents.
Next
From: Stefan Schwarzer
Date:
Subject: Re: Find min year and min value