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 1nM28i-00012w-5L for pgsql-general@arkaria.postgresql.org; Mon, 21 Feb 2022 06:25:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nM28g-0004HA-QK for pgsql-general@arkaria.postgresql.org; Mon, 21 Feb 2022 06:25:38 +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 1nM28g-0004H1-5l for pgsql-general@lists.postgresql.org; Mon, 21 Feb 2022 06:25:38 +0000 Received: from se3i-lax1.servconfig.com ([173.231.200.204]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nM28c-0003wR-Lq for pgsql-general@lists.postgresql.org; Mon, 21 Feb 2022 06:25:37 +0000 Received: from res259.servconfig.com ([23.235.219.107]) by se3-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1nM28W-000APb-EN; Mon, 21 Feb 2022 01:25:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sardonyx.in ; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:In-Reply-To: References:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k+OLVksb7n/y5ioXnePcDeUL4fb9MDZi6t+YHImRir4=; b=CxQ6w2ctwiiwqOpmR3C7e1gvLb n38M2lKARn+Frbw3Ze83bsv6WjFUgeVTlX/mXI4N7vrY2PEfQCO6CqmFhKhB2w77usl4jqLJaMad8 wmeD3ZRiGv+PBeT8hHVD+tyhwnjm/lKNh5YlNQq+gkUZqwTwacqLFs3lCgCzM9W9ugVKu0odeUat8 8YpK/5HxyuTqzjn60XpYxl0EGMnmAmZlAmTk1jSN4X9/0g0gU0AQEQTs7atnd3Q3uIbQ32E8P94di ePg1DS2xdl5uYueqByi6nEz0/zY7LrD9LKt9l2hWzD+WxNTSxkMgHc9uP+nYI2oHkaEUHB0alinDx D9kvgA/A==; Received: from [117.200.75.50] (port=61731 helo=snappy199) by res259.servconfig.com with esmtpa (Exim 4.94.2) (envelope-from ) id 1nM28T-0022Tg-Ge; Sun, 20 Feb 2022 22:25:26 -0800 From: "Techsupport" To: "'Daevor The Devoted'" Cc: "'pgsql-generallists.postgresql.org'" References: <001501d826df$bfb03bb0$3f10b310$@sardonyx.in> In-Reply-To: Subject: RE: 20220221-Clarification regarding PostgeSQL DB backup Date: Mon, 21 Feb 2022 11:55:12 +0530 Message-ID: <002401d826eb$cf68edc0$6e3ac940$@sardonyx.in> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01D82719.E922D770" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGlYRtEXLqv72OvUIhv39PLNyhKLAG7NQL7rPUwoxA= Content-Language: en-us X-Get-Message-Sender-Via: res259.servconfig.com: authenticated_id: techsupport@sardonyx.in X-Authenticated-Sender: res259.servconfig.com: techsupport@sardonyx.in X-Originating-IP: 23.235.219.107 X-SpamExperts-Domain: res259.servconfig.com X-SpamExperts-Username: 23.235.219.107 Authentication-Results: servconfig.com; auth=pass smtp.auth=23.235.219.107@res259.servconfig.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbd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V2a5c X-Report-Abuse-To: spam@se1-lax1.servconfig.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_0025_01D82719.E922D770 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi ~~Na-iem Dollie, =20 Thanks for your reply, =20 In SQL Server there is an option to take Full backup and Differential = Backup for a particular database.=20 =20 Like that, we need to take the differential Backup in PostgreSQL. This = is my primary need. =20 Thanks, Karthick Ramu =20 =20 From: Daevor The Devoted [mailto:dollien@gmail.com]=20 Sent: Monday, February 21, 2022 11:05 AM To: Techsupport Cc: pgsql-generallists.postgresql.org Subject: Re: 20220221-Clarification regarding PostgeSQL DB backup =20 Hi Karthick =20 I'm a little rusty on PG (it's been about a decade since I last worked = intensely with it), but I seem to remember that restoring with indexes = can be very slow. The faster approach is to restore without indexes, and = then create the indexes once the data restore is complete. =20 My knowledge may be outdated, so best to check with others that have = more recent knowledge. However, it's probably worth investigating in the = meantime. =20 Okay, I just had a quick look at the documentation, and it seems there = is an option to run multiple concurrent jobs for the time-consuming = parts of a restore (which includes index creation): =20 -j number-of-jobs =20 see: https://www.postgresql.org/docs/current/app-pgrestore.html (or = check the docs for whatever PG version you have) =20 Good luck! =20 ~~Na-iem Dollie =20 On Mon, Feb 21, 2022 at 6:59 AM Techsupport > wrote: Hi Team, =20 =20 We have used PG_DUMP to take backup of particular database from the = PostgreSQL Server. It takes too long to restore the databases , which = has Half Billion records (almost 8 Hour) =20 My primary need is to make the Differential and Incremental backup on = the Windows Server. When I search there is a tool Barman and PG_BackRest = is available. But that will be supported only for Linux based servers = only =20 Please suggest me a tool to make differential backup =20 Thanks, Karthick Ramu ------=_NextPart_000_0025_01D82719.E922D770 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi ~~Na-iem Dollie,

 

Thanks=C2=A0 = for your reply,

 

In SQL = Server there is an option to take Full backup and Differential Backup = for a particular database.

 

Like that, = we need to take the differential Backup in PostgreSQL. This is my = primary need.

 

Thanks,

Karthick Ramu

 

 

From: Daevor = The Devoted [mailto:dollien@gmail.com]
Sent: Monday, February = 21, 2022 11:05 AM
To: Techsupport
Cc: = pgsql-generallists.postgresql.org
Subject: Re: = 20220221-Clarification regarding PostgeSQL DB = backup

 

Hi = Karthick

 

I'm a = little rusty on PG (it's been about a decade since I last worked = intensely with it), but I seem to remember that restoring with indexes = can be very slow. The faster approach is to restore = without indexes, and then create the indexes once the data = restore is complete.

 

My knowledge may be outdated, so best to check with = others that have more recent knowledge. However, it's probably worth = investigating in the meantime.

 

Okay, I just had a quick look at the documentation, = and it seems there is an option to run multiple concurrent jobs for the = time-consuming parts of a restore (which includes index = creation):

 

-j number-of-jobs=

 

see: https= ://www.postgresql.org/docs/current/app-pgrestore.html (or check the = docs for whatever PG version you have)

 

Good luck!

 

~~Na-iem Dollie

 

On = Mon, Feb 21, 2022 at 6:59 AM Techsupport <techsupport@sardonyx.in> = wrote:

Hi = Team,           &n= bsp;    

 <= /o:p>

We have = used PG_DUMP to take backup of particular database from the PostgreSQL = Server. It takes too long to restore the databases , which has =  Half Billion records (almost 8 Hour)

 <= /o:p>

My primary = need is to make the Differential and Incremental backup on the Windows = Server. When I search there is a tool Barman and PG_BackRest is = available. But that will be supported only for Linux based servers = only

 <= /o:p>

Please = suggest me a tool to make differential backup

 <= /o:p>

Thanks,=

Karthick = Ramu

------=_NextPart_000_0025_01D82719.E922D770--