From: basti <mailinglist@unix-solution.de>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: DB Backup from WAL Slave
Date: Wed, 25 Jul 2018 15:14:34 +0200
Message-ID: <3fbd4917-254b-5f12-0df8-46e492182d04@unix-solution.de> (raw)
In-Reply-To: <47914E19-80F3-47B9-90BF-E95F6FEB3700@a-kretschmer.de>
References: <c5b4fbe7-cd5b-b703-8304-119415572c9a@unix-solution.de>
<47914E19-80F3-47B9-90BF-E95F6FEB3700@a-kretschmer.de>
Thanks a lot for this tip. I don't know is this is the right param.
Becouse of: "... , but can cause database bloat on the primary for some
workloads."
This the an other way to backup the database and work around
pg_dump: Error message from server: ERROR: canceling statement due to
conflict with recovery
# DETAIL: User was holding a relation lock for too long.
this error?
I have try bg_asepackup but this close with:
pg_basebackup: could not connect to server: FATAL: number of requested
standby connections exceeds max_wal_senders (currently 0)
Best regards,
On 24.07.2018 15:33, Andreas Kretschmer wrote:
> On 24 July 2018 14:44:45 CEST, basti <mailinglist@unix-solution.de> wrote:
>> Hello,
>>
>> we have a db master and a slave.
>
> -
>>
>> How can I do an backup with pg_dumpall from slave?
>
> Set hot_standby_feedback to on.
>
>
> Regards, Andreas
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: mailinglist@unix-solution.de, andreas@a-kretschmer.de
Subject: Re: DB Backup from WAL Slave
In-Reply-To: <3fbd4917-254b-5f12-0df8-46e492182d04@unix-solution.de>
References: <c5b4fbe7-cd5b-b703-8304-119415572c9a@unix-solution.de> <47914E19-80F3-47B9-90BF-E95F6FEB3700@a-kretschmer.de> <3fbd4917-254b-5f12-0df8-46e492182d04@unix-solution.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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