pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_basebackup running from a remote machine
4+ messages / 3 participants
[nested] [flat]
* pg_basebackup running from a remote machine
@ 2017-11-14 16:09 rakeshkumar464 <rakeshkumar464@outlook.com>
0 siblings, 1 reply; 4+ messages in thread
From: rakeshkumar464 @ 2017-11-14 16:09 UTC (permalink / raw)
To: pgsql-general
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.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_basebackup running from a remote machine
@ 2017-11-14 16:28 Laurenz Albe <laurenz.albe@cybertec.at>
parent: rakeshkumar464 <rakeshkumar464@outlook.com>
0 siblings, 2 replies; 4+ messages in thread
From: Laurenz Albe @ 2017-11-14 16:28 UTC (permalink / raw)
To: rakeshkumar464 <rakeshkumar464@outlook.com>; pgsql-general
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.
Yours,
Laurenz Albe
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_basebackup running from a remote machine
@ 2017-11-15 12:33 rakeshkumar464 <rakeshkumar464@outlook.com>
parent: Laurenz Albe <laurenz.albe@cybertec.at>
1 sibling, 0 replies; 4+ messages in thread
From: rakeshkumar464 @ 2017-11-15 12:33 UTC (permalink / raw)
To: pgsql-general
Does pg_basebackup on a remote machine follow the standard libpq protocol. I
am not able to force it to use ssl, despite having an entry in pg_hba.conf:
hostnossl all all all reject
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_basebackup running from a remote machine
@ 2017-11-16 06:47 Jeff Janes <jeff.janes@gmail.com>
parent: Laurenz Albe <laurenz.albe@cybertec.at>
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Janes @ 2017-11-16 06:47 UTC (permalink / raw)
To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: rakeshkumar464 <rakeshkumar464@outlook.com>; 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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2017-11-16 06:47 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-14 16:09 pg_basebackup running from a remote machine rakeshkumar464 <rakeshkumar464@outlook.com>
2017-11-14 16:28 ` Laurenz Albe <laurenz.albe@cybertec.at>
2017-11-15 12:33 ` rakeshkumar464 <rakeshkumar464@outlook.com>
2017-11-16 06:47 ` Jeff Janes <jeff.janes@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox