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.96) (envelope-from ) id 1wJh3B-0008sL-3D for pgsql-performance@arkaria.postgresql.org; Mon, 04 May 2026 00:20:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wJh39-0054tk-0p for pgsql-performance@arkaria.postgresql.org; Mon, 04 May 2026 00:20:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wJh38-0054tc-2V for pgsql-performance@lists.postgresql.org; Mon, 04 May 2026 00:20:38 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wJh36-000000004Dt-24d3 for pgsql-performance@lists.postgresql.org; Mon, 04 May 2026 00:20:37 +0000 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-7dbca22dbfeso2055582a34.1 for ; Sun, 03 May 2026 17:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1777854036; cv=none; d=google.com; s=arc-20240605; b=M1njb+wgI8th0gir+dVjAxAhHmJvXNEpXas72ngDMKpLkk8QzKcpR+CeQgeeKa3Miq AhxpL0Vmtym3XfJb8OZNTB5zzIbF+bduT4gT6p7sRVFc6qtm4Yr7GTeiS9QhLsf20M5g 1AjoprWL8M37XSQSrqnQGGXhXhJxq7zzZXke1EODkqxLFnsBCeERBaxMoRa/DYE/PQYX PsGwZn9hzOD9RRfwM9oZlYAmKwtTBV0XFmqHr48hD6rlZJDjTn1qYihu6MCIWtk5XFj9 49GFXuHT+XetoLz0AOyTkP/vjM7oE8obd0dh4/rGAdnuT4jEw85Guua1ucnGdHeybLtY DKZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=5hCrIVaPNnvqsStTbNrXBYIV6iVjA4zzfqpG1ftuyI4=; fh=FV9XtUm+YLVvBDulO+fjh38jR9cUEYP0xKLI8C2U66c=; b=PvMFFpldRzIhrYr3K9Ded30bKey4eKIStWa4g8IqOzKr8rJJOHbvvRbS7+HcrnFjYA HcVl29FCBXBubXRar4GlgJhMCuGlLoS4tsCKpmIyas1X6a8sSo06Y2SxIVF3KVi6E/Y7 WD8qdw2/DaFbTQ2jJGI3XfmWDEk83jyt4BVwTveqkSoVY+EMmEWCmeIHJamGMcTk0lgS F/wFMGTZvNsmxFXig16ElSpjXNrcll4obqnY+R7uIFAzmySvdNZtVAKATZLRhjejTtaY WR2CeI3KTVyDpene4aQQejR9nT5j6R3CYbKChaWrBriPTqJ3D8bZ16+owfAZEJPfH/68 z1dA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777854036; x=1778458836; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5hCrIVaPNnvqsStTbNrXBYIV6iVjA4zzfqpG1ftuyI4=; b=mQxfz6Hu6dHr4LTYFgwAXd1kZZ1wI85PS2wuQIsvqDahvnawmGXRBYPHy/CfzfLOTA hZpvRZpPWLBa8BfT50zLgrTNmOg+21h2clzpiT7YpMkuXCl2+xTpzlIygFv1JoLGpyXn vdmZ4Dk+jUPDDO28rWAVGblkWLLgrbp08pFJWUQTAiOG+CyLgp20nVCeTL01F3ZwO4MP Wv3M+lC2kyrggEOArZvgWUEYNfUf8GCTd1qn5LNQbcgEQx09vE2sYMESmN8cMQr6Yj7i HrezAxRL70/IIPUvtqovHQ3g+pyb7/17WgODFB+9LtWyTgb7TkOskn9GfBl4WXrFppbS ImmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777854036; x=1778458836; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5hCrIVaPNnvqsStTbNrXBYIV6iVjA4zzfqpG1ftuyI4=; b=VY1GX0zgc1whyp/+NFhmAcrzjXBja0/XAKYO0vFKTv9XI/jwQgFENYVcvm0X1OVmXm aNn0CSPQYWlu3L6adGcshp2Ead3LPHleIKfEscX0v7XDs5vpD26Et1JtTb86j9QDZ8/2 pPWBg9QNbBw10zZrQqnJ+OAlZpRZOPcQsSECvJfgDTmWfl7clrBQk4Ek0Y4g1PwdWQTy uz8EPKKHfrBVkg0A+iSrcUMOV1bSjVc5/4s+8P18WtC8gW4wS22pbStVGCuGK63ofcse os2JXquUcFtSQCpPtgKTJoVeHWqvtXn1RC1rjkle5A2KV/IQX9nyGGz0fdwWKuKqXzj8 zj5Q== X-Gm-Message-State: AOJu0YwTv9tBZ0LM8rCVZrlW30Po3N7DnoVacrcW9K/+KQZXaZDZVfgS XADmuHFUhehxv8IYLZhoOYhGGEQOMBnc38E7EhSMOfNHzJBZen21Yogsr6d7sE+0E6Ihr+gROjw 8jGvQFAt6imFVjCRjt3u6ILIIRQ+cLoI= X-Gm-Gg: AeBDievtecNE1yyo91glpl1bn4VjnVS93MzRYsLs3XJpj1I/45xOpg9J5RgXmKYwDxn TXCtslVh+6JglaucFHlZT+6CXXCyq0ODf/BfOXT2nmCHQDMtMYVKo9F9tS9HBYWDSxKdHlRLPqp FhvkN+9A7c4lcSAeB/4CxBWlzQNHSNnsNy0pAHCS/n/mLC+QU9LSJO6yBMByk5h/k4iRW6yQcYU NYhrI9I5SNT9iWw0se/PaGw+1rkTpOkvfQ2/eV0rT2UHWQIE8Rjk6KdbA7fjj9/DeVaAYiyniiA fBsVqPXsIfaW8Qr+i0Wz3n4Zu448vKY244lSeVplp1b7rHK7WWs= X-Received: by 2002:a05:6820:81d7:b0:696:924d:295e with SMTP id 006d021491bc7-696979a4c4emr3560187eaf.9.1777854035710; Sun, 03 May 2026 17:20:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Sabino Mullane Date: Sun, 3 May 2026 20:20:05 -0400 X-Gm-Features: AVHnY4IaAuh95GuPpszZiCJiFtKbSyrC0goACKoMtVzpszOuLvEzYHSaB7XQiwo Message-ID: Subject: Re: Postgres DB backup is taking too much time To: masheed ullah Cc: pgsql-performance@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000042d8a90650f2e620" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000042d8a90650f2e620 Content-Type: text/plain; charset="UTF-8" (This is more suitable for the pgsql-general list, you may get more/better replies there) There is nothing equivalent to ZDLRA in the Postgres world, but there are certainly ways to reduce RTO. You are using replicas, and a tool that saves WALs, so that really gets you 99% of the way there. Tools like pgBackrest can do incremental backups, and parallel, delta-only restores, which can wildly reduce both backup and restore times. RTO for Postgres can be measured in seconds (e.g. Patroni handling a disk failure) to minutes (e.g. someone dropped a table). Also see the recovery_min_apply_delay parameter. If you give us a more specific use case / disaster scenario, we can give more options and advice. Cheers, Greg --00000000000042d8a90650f2e620 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(This is more suitable for the pgsql-general list, you may= get more/better replies there)

There is nothing equivalent to ZDLRA= in the Postgres world, but there are certainly ways to reduce RTO. You are= using replicas, and a tool that saves WALs, so that really gets you 99% of= the way there. Tools like pgBackrest can do incremental backups, and paral= lel, delta-only restores, which can wildly reduce both backup and restore t= imes. RTO for Postgres can be measured in seconds (e.g. Patroni handling a = disk failure) to minutes (e.g. someone dropped a table). Also see the recov= ery_min_apply_delay parameter. If you give us a more specific use case / di= saster scenario, we can give more options and advice.

Cheers,
Greg

--00000000000042d8a90650f2e620--