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 1ogWbn-0005wH-9a for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 19:32:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogWbl-0006bP-HR for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 19:32:37 +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 1ogWbk-0006X3-GW for pgsql-general@lists.postgresql.org; Thu, 06 Oct 2022 19:32:37 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogWbg-0005PA-BR for pgsql-general@postgresql.org; Thu, 06 Oct 2022 19:32:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0B52732007D7; Thu, 6 Oct 2022 15:32:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 06 Oct 2022 15:32:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1665084748; x= 1665171148; bh=zdanX65U5Se3ld4M/jY+RFwtVeCx2QYiOGeGBIxvc3U=; b=D Aq6IfmwJ5chhuHebro5f8jycI7BbzP+PkAJErHvI3TbEYFRDPf0kalwvg7NHwBxw sqdOXhY7mAw4BAKXV14RFiS94bBoTt3dFXd2g0coqZMGeAvLLiIPgiu8JbMh3brK S2mEZ9h2JVz+Dr0Yq21LdpzK2IdhZO7/iKFIuXq3H9wUmuhrm1eXYcWEMRfgF8WZ cMukUi8oIVDGV9VEaUdexseqq6F097MZCSNvNb8SWK/OtH3wq1YuqHmf+OzXefvZ ABNAyDT60iNQG76zJsbBUBDHIpadZ0ptx5PjfVsRpqptLmlB9mtK0PRab4KrPkji 9LofH7PJqdn8TT/068yZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1665084748; x= 1665171148; bh=zdanX65U5Se3ld4M/jY+RFwtVeCx2QYiOGeGBIxvc3U=; b=b tM3dOkFv0/YrWSEGHiSBaiHPX2ezkAnEPMdGZwwN/736FttMUjMjhqMEHHwgnh6a 2ku+0O/ccdeUytSp0rmlx8B8Z5hxGQfseCDluylBdkhLKNIjRcBGBp/Wf1JOxTSw X1ioXOIpvkEXK4At0mPmzskTLtdUngbfdGkEqnSHMScNLrbwbVUYMWodZd0deoZn xW16Apj7E+3HNxlOA7PtVLTXfhsohRNmorASeo4BmN1k9N/+O4cJaxpmBeUQQRcF E6zSmtkagV5Ga7i51d9lRvLqYtbZjN8jczW6jHrm5ZNg/ypgS17GJCI+zFTWhvLC 302DGi1/tQLyA++wi5GyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedgudefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvvehfhfgjtgfgse htjeertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepjeegtd fhuefhtefgffdvheduleetgeejudevffekteegjeeiheeuudellefgffffnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Oct 2022 15:32:27 -0400 (EDT) Message-ID: <96fcc444-55e0-7dbb-11ba-2a8e20be9e56@aklaver.com> Date: Thu, 6 Oct 2022 12:32:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: pg_restore creates public schema? To: Christophe Pettus , Ron Cc: pgsql-general References: <9a423047-24d9-1643-c91e-6c36508b987e@gmail.com> <2678272.1665067771@sss.pgh.pa.us> <33eb3653-26f1-e6c1-dd16-c43ef93f7624@gmail.com> <2749191.1665069637@sss.pgh.pa.us> <31774754-424d-3637-8861-f7b61c106a69@gmail.com> <5454C60C-EBBC-4A96-9497-667EAB87907D@thebuild.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/6/22 10:46, Christophe Pettus wrote: > > >> On Oct 6, 2022, at 10:44, Ron wrote: >> Sadly, that VM doesn't have nearly enough disk space to hold the backup folder. > > Use file mode, and stream the output via scp/ssh to a different machine? > Or Plan B: 1) Use pg_dump 9.6.24 on existing(going EOL) server 2) Set up a 9.6.24 instance somewhere you have control. 3) pg_restore to it. 4) Then use pg_dump 13.8 on the new instance. -- Adrian Klaver adrian.klaver@aklaver.com