Re: Archive directory

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Yambu <hyambu(at)gmail(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 13:53:25
Message-ID: 5AAB0FED-45AA-45F6-AFB5-A65A36275492@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> 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 Yambu 2020-12-07 14:01:29 Re: Archive directory
Previous Message Yambu 2020-12-07 13:47:26 Re: Archive directory