Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u6qoR-006DOP-LQ for pgsql-general@arkaria.postgresql.org; Mon, 21 Apr 2025 13:03:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u6qoO-00512X-QY for pgsql-general@arkaria.postgresql.org; Mon, 21 Apr 2025 13:03:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u6qoO-00512O-EF for pgsql-general@lists.postgresql.org; Mon, 21 Apr 2025 13:03:49 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u6qoJ-001EGj-3C for pgsql-general@postgresql.org; Mon, 21 Apr 2025 13:03:46 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e728841ed96so2578898276.3 for ; Mon, 21 Apr 2025 06:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745240623; x=1745845423; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=CBkDLG2RBFzx2rq8zzqtdxQfzJ60zXTr4t2hVWQeOnE=; b=IwQmSYm4rZlPtpTf3NI7vQ6paKUFE81yGKpVf1zGaPfT5wV4NuYfJAxQlLYHe61Gcn W2lEMcc3NcVcaUMB8rxXLAwuTv7zJEKMtuph6DLqgWhJi2is5+q1hqv7CVp/M470uhNl bwI5ysv2KuUsKUqeKiWEwjSsdv1gznzjEZgR2VDOxlr/4OEdLNGsx3PC5zlos5SGTDtj 8dgU7iLMaGpVRUyjVHAS8nX80a9t0i8y0ZGH5lwgEaJWnwEu2mZxQTkY2JC7EsceGEIT hl6EzUViTP9T5yqMsvV6yrnRKTDkpTtdDaTiZZIPVOUsNZeVafK/gsP6LS4CnHCyE+HG ONbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745240623; x=1745845423; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CBkDLG2RBFzx2rq8zzqtdxQfzJ60zXTr4t2hVWQeOnE=; b=pLSfWfMwbQEJsqdtdouPrhXfa+cPH88dWDGb38re1lTN9FGmOeOW0UYMjgLo7vlymR ZQDC2ChaQJUlAMCGBCautZl7UVn1551wOO7W8x0IP7dhz9wwpgMDQH3ivNzk5z4TmOCd +XdR8iznro6kWn0pItjCth5EJpIQCxBYz8am160CDUuCISLz0XgZQro27jzVoulfzyII CBWiscVeZbaC4f+7b+13jmAl++J769vj+s5Zbb6JESNvEI7RiMEegzbrsmU9ODvQs0og dKbSFl1vhOGwI3YnPLUhyOokKIrntyryqLWLQ/PlIFIDH22xhE+LyTT1OKNO6iowE4Td LxLQ== X-Gm-Message-State: AOJu0YzYfv0SYrDORrGSlsD61fJFAG0UzK3rNNA7b67lXxCU2G8ZXxuP R6Rbiu6i6VjQ2DO+va23NWpacP5/z1wMrh68cSK8IgaI3Wfjg75k85lFeweAGeTzqMzEZKZ7EoJ XG20uSM7xyckwxUsJ0N4JdUZdJ0P/J3BI X-Gm-Gg: ASbGncs2tw7WhLx893tuH7U6+iI/RZ1qVLB0f5YW1mAresmdHuiSb3lNgasgiOCXE34 tvYbyy+9jYGZpXrhQQb3C1E4Rx8fA7efI9cBuBCs3gKW3CaHvG6DI1QE8m49fEQu+umhu5zZ3Qf zBPJ0Mfe8X1t2FMgc+STp1LiE= X-Google-Smtp-Source: AGHT+IFKiO/D0KFNb8A2+IEmfVMDFPJiNTexWGL0w7kHfGpGgA2RXWs1jXaacfttOAhDC1HUVfW0w0T/yqs2FOnSYRA= X-Received: by 2002:a05:6902:2603:b0:e6d:f6f8:69ed with SMTP id 3f1490d57ef6-e7297f18d8emr14852773276.48.1745240622951; Mon, 21 Apr 2025 06:03:42 -0700 (PDT) MIME-Version: 1.0 From: KK CHN Date: Mon, 21 Apr 2025 18:35:58 +0530 X-Gm-Features: ATxdqUE9anJ59WB4fM6lGGqA3Ns0dG1-PIFZfKDGj2KaALe0SH94OujYqyuCMps Message-ID: Subject: Pgbackrest fails due after an ISP change To: pgsql-general Content-Type: multipart/alternative; boundary="00000000000060f60b0633497f06" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000060f60b0633497f06 Content-Type: text/plain; charset="UTF-8" List, I am running a pgbackrest(2.52.1) backup setup for a postgres(16) server(RHEL9.4) to a repo server RHEL 9.4.. The pgbackrest was working fine and the remote repo server got regular backups through cron scheduler. Suddenly there was an ISP change at our end, the VPN tunnel between DB server and Repo server was lost for 24 hours due to VPN tunnel crash. later I restored the VPN tunnel After that the cron scheduler does not perform the pgbackrest backup. It fails!!! So I performed a full backup to overcome this .. But it fails with the cron command ( 38 14 * * 1 pgbackrest --type=full --stanza=My_Repo backup) ERROR: [082]: WAL segment 000000010000022000000038 was not archived before the 60000ms timeout HINT: check the archive_command to ensure that all options are correct (especially --stanza). HINT: check the PostgreSQL server log for errors. HINT: run the 'start' command if the stanza was previously stopped. -------------------------------------------------------------------- If SUBMITTING AN ISSUE please provide the following information: version: 2.52.1 command: backup options: --delta --exec-id=492671-6f2068fc --log-level-console=info --log-level-file=debug --pg1-host=10.x.y.202 --pg1-host-user=enterprisedb --pg1-path=/data/edb/as16/data --pg-version-force=16 --process-max=5 --repo1-block --repo1-bundle --repo1-cipher-pass= --repo1-cipher-type=aes-256-cbc --repo1-path=/DBBACKUP --repo1-retention-diff=3 --repo1-retention-full=3 --stanza=KTA_Repo --start-fast --type=full 2025-04-21 14:39:07.335 P00 INFO: backup command end: aborted with exception [082] 2025-04-21 14:39:07.335 P00 DEBUG: command/exit::exitSafe: => 82 2025-04-21 14:39:07.936 P00 DEBUG: main::main: => 82 How can I make the full backup command not to check the WAL was archived or not to the repo server for atleast once ? Any hint appreciated .. Thanks Krishane --00000000000060f60b0633497f06 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
List,

I am running=C2=A0 a pgbackrest(2= .52.1) backup setup for a postgres(16) server(RHEL9.4)=C2=A0 to a repo serv= er RHEL 9.4..=C2=A0 =C2=A0

The pgbackrest was work= ing fine and the remote repo server got regular backups through cron schedu= ler.=C2=A0

Suddenly=C2=A0there was an ISP change a= t our=C2=A0 end,=C2=A0 the VPN tunnel=C2=A0 between DB server and Repo serv= er was lost for=C2=A0 24 hours due to VPN tunnel crash.=C2=A0 later I resto= red=C2=A0the VPN tunnel

After that=C2=A0 the cron = scheduler does not perform the pgbackrest backup. It fails!!!
So I performed a full backup to overcome this ..=C2=A0 But it f= ails=C2=A0 with the cron command (=C2=A0=C2=A038 14 * * 1 pgbackrest --type= =3Dfull =C2=A0--stanza=3DMy_Repo backup)=C2=A0

ERROR: [082]: WAL segment 000000010000022000000038 was not arch= ived before the 60000ms timeout
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 HINT: check the archive_command to ensure that all options ar= e correct (especially --stanza).
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 HINT: check the PostgreSQL server log for errors.
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 HINT: run the 'start'= command if the stanza was previously stopped.
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 -----------------------------------------------= ---------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 If SUBMITTING AN ISSUE please provide the following information:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 version: 2.52.1
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 command: backup
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 options: --delta --exec-id=3D= 492671-6f2068fc --log-level-console=3Dinfo --log-level-file=3Ddebug --pg1-h= ost=3D10.x.y.202 --pg1-host-user=3Denterprisedb --pg1-path=3D/data/edb/as16= /data --pg-version-force=3D16 --process-max=3D5 --repo1-block --repo1-bundl= e --repo1-cipher-pass=3D<redacted> --repo1-cipher-type=3Daes-256-cbc = --repo1-path=3D/DBBACKUP --repo1-retention-diff=3D3 --repo1-retention-full= =3D3 --stanza=3DKTA_Repo --start-fast --type=3Dfull
2025-04-2= 1 14:39:07.335 P00 =C2=A0 INFO: backup command end: aborted with exception = [082]
2025-04-21 14:39:07.335 P00 =C2=A0DEBUG: =C2=A0 =C2=A0 command/exi= t::exitSafe: =3D> 82
2025-04-21 14:39:07.936 P00 =C2=A0DEBUG: =C2=A0 = =C2=A0 main::main: =3D> 82

How can I make the f= ull backup command not to check the=C2=A0 WAL was archived or not=C2=A0 to = the repo server for atleast once ?

Any hint=C2=A0 = appreciated ..=C2=A0

Thanks
Krishane


--00000000000060f60b0633497f06--