Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9Ib-0005iS-SD for pgsql-novice@arkaria.postgresql.org; Sat, 08 Oct 2022 12:51:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oh9Ia-00016k-31 for pgsql-novice@arkaria.postgresql.org; Sat, 08 Oct 2022 12:51:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oh9IZ-00016b-R0 for pgsql-novice@lists.postgresql.org; Sat, 08 Oct 2022 12:51:23 +0000 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oh9IX-0003Rf-V2 for pgsql-novice@postgresql.org; Sat, 08 Oct 2022 12:51:23 +0000 Received: by mail-ua1-x930.google.com with SMTP id a8so2520375uaj.11 for ; Sat, 08 Oct 2022 05:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sBHum+CMr5kVN2imph35Eaiyx1Iuzn4objdVZNQt9SA=; b=n560pimzulLS0S5xR7d3dRGy0yID8MT7O0TBWWw3ZBpfDtrZkyqP27O19jidMWgWye Zcoo9zT8Hbr44drL3qfNox446gXXnIbGibOpjAjDtYFQDGYBW9lu1CZ3+S1K9KHDpJdo G8gpENYRd/HYZI8iIJw+cQpaN3Iz+E5gQ4pOnSXPg8MHG5ibCzDCHDc1ZPfF351fhohk xsPd3CufPRVnzXWeJU7VIu5H190Kfs1QqYbOPlhifn/4M8KjWHWS/ZhZWTF2wDWGkJWP HOShmmTW5hjM3i9kXGzwzJ/XruQysFtlSG+EYXO5VDQ2Ri+T2iuvQO99Of1wyoe6TyDL KcCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sBHum+CMr5kVN2imph35Eaiyx1Iuzn4objdVZNQt9SA=; b=KJcFEy2fyoatwofeFivz8G2YM1f3ltWBolCljgkJlfaQoAGzYUyb5Im3UkYLpYDvsS NMUt1sb9SLDJ80gPCe1w9m/FeEpn4xRwRgcmtqDwUHzDOL89Cli98j9T9sy6d1UFQtzT S0rXq7k0vwH8bhffjZ3xkLF6qUXps+UwzrmGylX5gpPyCsZ8bdTRD7h+IfwNlqYpfBJq pDJqqqHAKGAS5uLFKzkGzUHzOgal1lCMzL+QuqThTUl1LYDED+xIuMZvfiSUvypobYtm o/n9d2kxRj8EQwn/rbSbW5Cvqr5GQZYKlTLN1meW734OBuWP9+XjmSEDtU8c7VTSdMvZ 6orQ== X-Gm-Message-State: ACrzQf198I1dcDco4xmfVKdGKoZ8MzSoH6PL4eRNJTEMb85cNrDzRTQg LMDGQIDNVxDwm4IVgoYPjTXN/P2MzgNLUdbf/7cOVYpN X-Google-Smtp-Source: AMsMyM6Rgi8rXb/nuMX/i8/g5tw2OiThWdwvoMXLyyMNe2cgJL2oLVU0S5tY26geYLcb9WeWSR3e0B+CelF1uPIDz8I= X-Received: by 2002:ab0:688c:0:b0:3d6:27ef:2a5e with SMTP id t12-20020ab0688c000000b003d627ef2a5emr5747386uar.122.1665233479563; Sat, 08 Oct 2022 05:51:19 -0700 (PDT) MIME-Version: 1.0 From: Rita Date: Sat, 8 Oct 2022 08:51:08 -0400 Message-ID: Subject: recovery.conf and archive_cleanup_command To: pgsql-novice@postgresql.org Content-Type: multipart/alternative; boundary="000000000000047ce805ea85620d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000047ce805ea85620d Content-Type: text/plain; charset="UTF-8" I have primary and standby replication setup. On my primary the archive directory is rather large (30GB) and growing. On my standby I have recovery.conf which has archive_cleanup_command = 'pg_archivecleanup -d /var/lib/pgsql/11/data/archive %r' I was under the impression this line would remove data from my primary AND standby. Is that not the case? -- --- Get your facts first, then you can distort them as you please.-- --000000000000047ce805ea85620d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have primary and standby replication setup.

On my primary the archive directory is rather large (30GB) and growi= ng. On my standby I have recovery.conf which has=C2=A0
archive_cl= eanup_command =3D 'pg_archivecleanup -d /var/lib/pgsql/11/data/archive = %r'

I was under the impression this line would= remove data from my primary AND standby. Is that not the case?
<= div>

--
--- Get your facts first, then you can d= istort them as you please.--
--000000000000047ce805ea85620d--