pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Gibson (DB Administrator) <postgresql@mailpen.com>
To: pgsql-performance@postgresql.org
Subject: Re: AWS forcing PG upgrade from v9.6 a disaster
Date: Thu, 10 Jun 2021 14:46:27 -0700
Message-ID: <780b160d-7a35-41ce-5627-57e705436db3@mailpen.com> (raw)
In-Reply-To: <4abbbebd-1496-7376-136f-38eb91773cd2@mailpen.com>
References: <88dec70b-eb63-0b72-0b5d-253851ef127b@mailpen.com>
	<92cc8563-195f-8727-d887-5f2bb63f231f@mailpen.com>
	<20210601041635.GQ2082@telsasoft.com>
	<a38c45cf-3bbd-b43a-0f8a-11539c1c6dc1@mailpen.com>
	<a7e9da9d-7433-ee02-9e35-db6b19acdcd4@mailpen.com>
	<18f77a0c-dade-b86a-cbeb-6f85d3d137e1@dunslane.net>
	<ec18a226-6bef-7ba6-e176-c751e189270d@mailpen.com>
	<CAEudQAodj-ywxc-3fgh8wK7oP8WXCoNSs0j8EF4HK+uUixTqMA@mail.gmail.com>
	<4abbbebd-1496-7376-136f-38eb91773cd2@mailpen.com>

On 2021-06-10 10:43, Dean Gibson (DB Administrator) wrote:
> On 2021-06-10 09:54, Ranier Vilela wrote:
>> Em qui., 10 de jun. de 2021 às 13:08, Dean Gibson (DB Administrator) 
>> <postgresql@mailpen.com <mailto:postgresql@mailpen.com>> escreveu:
>>
>>
>>     ...  Do I need quotes on the command line?
>>
>> See at:
>> https://www.postgresql.org/docs/13/app-pg-dumpall.html 
>> <https://www.postgresql.org/docs/13/app-pg-dumpall.html;
>>
>> Your cmd lacks =
>> =>pg_dumpall -U Admin --exclude-database=MailPen >zzz.sql
>>
>> regards, Ranier Vilela
>
> ...
>
> However, the result was the same:  3.5GB before running out of space.
>

It turns out the "=" is not needed.  The double-quoting is (this works):

pg_dumpall -U Admin --exclude-database '"MailPen"'  >zzz.sql

view thread (54+ messages)

Message-ID: <780b160d-7a35-41ce-5627-57e705436db3@mailpen.com>
Permalink:  ../780b160d-7a35-41ce-5627-57e705436db3@mailpen.com/
Also on:    postgresql.org/message-id/780b160d-7a35-41ce-5627-57e705436db3@mailpen.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: postgresql@mailpen.com
  Subject: Re: AWS forcing PG upgrade from v9.6 a disaster
  In-Reply-To: <780b160d-7a35-41ce-5627-57e705436db3@mailpen.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