Re: pg_restore creates public schema?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Christophe Pettus <xof(at)thebuild(dot)com>, Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore creates public schema?
Date: 2022-10-06 19:32:27
Message-ID: 96fcc444-55e0-7dbb-11ba-2a8e20be9e56@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/6/22 10:46, Christophe Pettus wrote:
>
>
>> On Oct 6, 2022, at 10:44, Ron <ronljohnsonjr(at)gmail(dot)com> 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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-10-06 19:35:21 Re: pg_restore creates public schema?
Previous Message Christophe Pettus 2022-10-06 17:46:25 Re: pg_restore creates public schema?