Re: [GENERAL] pg_basebackup running from a remote machine - Mailing list pgsql-general

From Jeff Janes
Subject Re: [GENERAL] pg_basebackup running from a remote machine
Date
Msg-id CAMkU=1xcQjg_XWZvk7-0nSUEXakBPdqfoh97ogNeLp0kVc9-GQ@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] pg_basebackup running from a remote machine  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
On Tue, Nov 14, 2017 at 8:28 AM, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
rakeshkumar464 wrote:
> If pg_basebackup is run from a remote machine with compress option --gzip ,
> compress level 9,
> will the compression occur prior to the data being sent on the network or
> after it has been received
> at the remote machine.

That only means that the output TAR file will be compressed, it has
nothing to do with the data transfered from the server.

If you want to compress the data sent over the network, use
pg_basebackup over an SSL connection with SSL compression enabled.

But ssl compression is disabled by default on most systems, and not even supported at all on many without doing a custom compilation of the ssl library.

Cheers,

Jeff

pgsql-general by date:

Previous
From: Rory Falloon
Date:
Subject: Re: [GENERAL] Setting up replication slave on remote high latency host
Next
From: Pavel Stehule
Date:
Subject: Re: [GENERAL] expanded auto and header linestyle double