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 1ohBLf-0000i4-5m for pgsql-general@arkaria.postgresql.org; Sat, 08 Oct 2022 15:02:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ohBLd-0002SB-Sn for pgsql-general@arkaria.postgresql.org; Sat, 08 Oct 2022 15:02:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohBLc-0002HR-3G for pgsql-general@lists.postgresql.org; Sat, 08 Oct 2022 15:02:41 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohBLU-0000km-EE for pgsql-general@postgresql.org; Sat, 08 Oct 2022 15:02:38 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8E80732007BE; Sat, 8 Oct 2022 11:02:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 08 Oct 2022 11:02:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=fm2; t=1665241350; x= 1665327750; bh=QDgpLntmVw06C8tSMD6wP0lIz13Yb2Bt2KcLVFsVpMo=; b=W 4jH3GREIc5ZD7s/dLHaWKF4ln0mqCEVgmNY4QG/oZjIrucGT4JyXLswvpHs1RVdh cgZMtVWUS0eP4+/if7PHTF5k9MNfhdq1QaFYNMvnEKyBip+eN9B7iNoSrUB+ZcjP 8cGUf5TBGs6ok7MithCZjje3tLxW3vXq9g3O8/qHoj/1mIWj2oy50JFCRsBDsev/ H89cU+PMrAByHH1FLQQkvm4eu4VsEP/ujaJXkejy6q+IukE6+jQsxFv14hMToeME pUIilmnGZvbLkCdhEOhRZRx6bkbYtvsYRLY2ACNp4lE8q0pa/GVVhD8oZlM2vIqA kWfhWfNSvuhLM38I8GhKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm3; t=1665241350; x=1665327750; bh=Q DgpLntmVw06C8tSMD6wP0lIz13Yb2Bt2KcLVFsVpMo=; b=VJxQV6tKlw4+jU+pE CMOKR6Ctl2+I760TEuUpFSUSoV1VLOxyXgwtsFY44bjKazDrsIF4Z/76saJQPEq9 o21joZXXW24Y3cZebgA5JTPBueI50ymxiEaLMV+/A4iTmfe+GYNmOxXz8F+lE1KB lJUW6zqDx7wt/W3385hvmgTi09dv8elAN/EYJDvkkdjdIEOGVGDmRaY7idCrV7ax hJl/dTA7W+MlOwAYi5Cy0w5VOj+njjJEmkCa9t3JLzHwap1vUKB9+0mx0zfEuOLW 1r6h9731/wQP2TcDAZfeUssAw5H1HYMoVflSkm4zpiIYGLNTndTkxM8TfL4VRgyJ qddpQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepfeeltefgke fhveeifedtveffffeuieelhfegiedtvddtveehveffgfdvteffffdunecuffhomhgrihhn pehfvgguihhnghhordgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Oct 2022 11:02:29 -0400 (EDT) Message-ID: Date: Sat, 8 Oct 2022 08:02:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: pg_restore creates public schema? To: Ron , 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> <6c4fad35-7b99-b725-5054-442b0c061748@gmail.com> <680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/7/22 20:14, Ron wrote: > On 10/7/22 15:31, Alban Hertroys wrote: >> Can you create an SSH tunnel to the new machine from the VM, then pipe >> that to an SSH connection from a machine that does have enough space >> to dump? > > Interesting.  (It's above my ssh expertise, though.) An example using psql: https://fedingo.com/how-to-connect-to-postgresql-server-via-ssh-tunnel/ -- Adrian Klaver adrian.klaver@aklaver.com