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 1lrOyj-0005R5-1M for pgsql-performance@arkaria.postgresql.org; Thu, 10 Jun 2021 18:00:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lrOye-0002ot-Fy for pgsql-performance@arkaria.postgresql.org; Thu, 10 Jun 2021 18:00:24 +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 1lrOye-0002ol-8F for pgsql-performance@lists.postgresql.org; Thu, 10 Jun 2021 18:00:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrOyb-0005C6-Jt for pgsql-performance@postgresql.org; Thu, 10 Jun 2021 18:00:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 15AI0Hh51682563; Thu, 10 Jun 2021 14:00:17 -0400 From: Tom Lane To: "Dean Gibson (DB Administrator)" cc: pgsql-performance@postgresql.org Subject: Re: AWS forcing PG upgrade from v9.6 a disaster 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> <18f77a0c-dade-b86a-cbeb-6f85d3d137e1@dunslane.net> <4abbbebd-1496-7376-136f-38eb91773cd2@mailpen.com> Comments: In-reply-to "Dean Gibson (DB Administrator)" message dated "Thu, 10 Jun 2021 10:43:13 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1682561.1623348017.1@sss.pgh.pa.us> Date: Thu, 10 Jun 2021 14:00:17 -0400 Message-ID: <1682562.1623348017@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Dean Gibson (DB Administrator)" writes: > On 2021-06-10 09:54, Ranier Vilela wrote: >> Your cmd lacks = >> =>pg_dumpall -U Admin --exclude-database=MailPen >zzz.sql > I read that before posting, but missed that. Old command line patterns > die hard! > However, the result was the same: 3.5GB before running out of space. [ experiments... ] Looks like you gotta do it like this: pg_dumpall '--exclude-database="MailPen"' ... This surprises me, as I thought it was project policy not to case-fold command-line arguments (precisely because you end up needing weird quoting to prevent that). regards, tom lane