pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_restore creates public schema?
Date: Sat, 8 Oct 2022 08:02:28 -0700
Message-ID: <a68329a3-de92-6d3b-2103-11f1dbdfb00e@aklaver.com> (raw)
In-Reply-To: <680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com>
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>
	<da5ad95f-197e-2dcd-ee4d-56af66f90b85@gmail.com>
	<C112329E-2BED-472B-BD32-A4BC6EFE3CC9@thebuild.com>
	<6c4fad35-7b99-b725-5054-442b0c061748@gmail.com>
	<C0A08AE7-306E-4999-B12C-4D9B8A52AD88@gmail.com>
	<680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com>

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






view thread (20+ messages)

Message-ID: <a68329a3-de92-6d3b-2103-11f1dbdfb00e@aklaver.com>
Permalink:  ../a68329a3-de92-6d3b-2103-11f1dbdfb00e@aklaver.com/
Also on:    postgresql.org/message-id/a68329a3-de92-6d3b-2103-11f1dbdfb00e@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, ronljohnsonjr@gmail.com
  Subject: Re: pg_restore creates public schema?
  In-Reply-To: <a68329a3-de92-6d3b-2103-11f1dbdfb00e@aklaver.com>
  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> <da5ad95f-197e-2dcd-ee4d-56af66f90b85@gmail.com> <C112329E-2BED-472B-BD32-A4BC6EFE3CC9@thebuild.com> <6c4fad35-7b99-b725-5054-442b0c061748@gmail.com> <C0A08AE7-306E-4999-B12C-4D9B8A52AD88@gmail.com> <680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com> <a68329a3-de92-6d3b-2103-11f1dbdfb00e@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