Re: How to transfer databases form one server to other - Mailing list pgsql-general

From basti
Subject Re: How to transfer databases form one server to other
Date
Msg-id 52eb33b7-65bd-ed38-dd73-04c61a7a72e3@unix-solution.de
Whole thread Raw
In response to Re: How to transfer databases form one server to other  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Am 27.01.20 um 21:47 schrieb Adrian Klaver:
> On 1/26/20 10:56 PM, Andrus wrote:
>> Hi!
>>
>>>> 3. Manually edit role definitions to delete role postgres since it 
>>>> exists
>>>> in new server.
>>> No need, it will throw a harmless error message and continue on.
>>
>> By my knowledge, pgAdmin executes script in single transaction and 
>> rolls it
>> back on error.
>> Should psql used or is there some option in pgadmin.
> 
> There are options on pgAdmin:
> https://www.pgadmin.org/docs/pgadmin4/4.17/restore_dialog.html
> See:
> 
> Single transaction
> Exit on error
> 
> Can't remember if you are taking a custom format backup or plain text. 
> If plain text you can use psql. If custom then will need to use pg_restore.
> 

I have no read the fill post but perhaps netcat or ssh tunnel can be an 
option to tansfer db's from a to b.




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: temporary data after diskspace error
Next
From: "Peter J. Holzer"
Date:
Subject: Re: Need support on tuning at the time of index creation