pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Thomas, Richard <Richard.Thomas@atkinsglobal.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL 10.20 crashes / Antivirus
Date: Wed, 20 Apr 2022 10:58:17 -0700
Message-ID: <ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com> (raw)
In-Reply-To: <LO2P123MB50949AB4C785A1C58C19E70BF1F59@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
References: <LO2P123MB509428EC0EFAA847AC95F060F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<a684e389-5e47-4118-c6f6-d7af03738b34@aklaver.com>
	<LO2P123MB5094385590930582ABEDBF14F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<LO2P123MB5094561359D24D8273F8CFDEF1F29@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com>
	<LO2P123MB509462A985A2A7A5DEEDFEE6F1F59@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>
	<6750bcfa-f7a9-4b15-180e-bd20d60cd150@aklaver.com>
	<LO2P123MB50949AB4C785A1C58C19E70BF1F59@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM>

On 4/20/22 10:23 AM, Thomas, Richard wrote:
> Adrian Klaver wrote:
>> On 4/20/22 01:06, Thomas, Richard wrote:
>>> The command used in a PowerShell script (run with Windows task scheduler)
>> to dump each database should evaluate to:
>>>
>>> "C:\Program Files\PostgreSQL\10\bin\pg_dump.exe" -b -v -F c -d $dbName
>>> -h localhost -p 6488 -U backup_su -f $backupFile 2`>`&1 | Out-File
>>> $pgdumpLogFile
>>

Should have asked earlier:

Have you tried doing the pg_dumps as independent actions manually for 
each database instead of iterating over a list of databases in a script?


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (14+ messages)  latest in thread

Message-ID: <ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com>
Permalink:  ../ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com/
Also on:    postgresql.org/message-id/ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, Richard.Thomas@atkinsglobal.com
  Subject: Re: PostgreSQL 10.20 crashes / Antivirus
  In-Reply-To: <ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com>
  References: <LO2P123MB509428EC0EFAA847AC95F060F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <a684e389-5e47-4118-c6f6-d7af03738b34@aklaver.com> <LO2P123MB5094385590930582ABEDBF14F1E79@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <LO2P123MB5094561359D24D8273F8CFDEF1F29@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <7f2eca3e-8c4f-4249-b769-37d74a591b5d@aklaver.com> <LO2P123MB509462A985A2A7A5DEEDFEE6F1F59@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <6750bcfa-f7a9-4b15-180e-bd20d60cd150@aklaver.com> <LO2P123MB50949AB4C785A1C58C19E70BF1F59@LO2P123MB5094.GBRP123.PROD.OUTLOOK.COM> <ed3d5001-e00a-ad1f-2aca-5779b4785c45@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox