Re: Archive directory

From: Yambu <hyambu(at)gmail(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Archive directory
Date: 2020-12-07 14:01:29
Message-ID: CALhHtcC-6+kKZZcqMNkMkNv6A9Fof9jiJXnF2jjhtZXnN_yKCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ok, whats happens in the case when you have 2 slave servers?

On Mon, Dec 7, 2020 at 3:53 PM Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
wrote:

> > On Dec 7, 2020, at 6:47 AM, Yambu <hyambu(at)gmail(dot)com> wrote:
> >
> > Does the command ,archive_cleanup_command, delete the files from the
> master server? i understand this config is done on the slave server
>
> The point of the archive command is to copy to the replica. If you're
> archiving on master, then using some script to copy to replica, then
> postgres has no way to know when it is safe to delete WAL files.
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Paul Förster 2020-12-07 14:02:32 Re: Archive directory
Previous Message Scott Ribe 2020-12-07 13:53:25 Re: Archive directory