Re: pg_restore creates public schema?

Поиск
Список
Период
Сортировка
Искать
От
Alban Hertroys
Тема
Re: pg_restore creates public schema?
Дата
Msg-id
C0A08AE7-306E-4999-B12C-4D9B8A52AD88@gmail.com
Ответ на
Список
Дерево обсуждения
pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Christophe Pettus <xof@thebuild.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Christophe Pettus <xof@thebuild.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Alban Hertroys <haramrae@gmail.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_restore creates public schema? Ron <ronljohnsonjr@gmail.com>
Re: pg_restore creates public schema? Adrian Klaver <adrian.klaver@aklaver.com>

> On 6 Oct 2022, at 22:52, Ron  wrote:
> 
> On 10/6/22 12: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?
> 
> I thought of that, too.  Unfortunately, the ssh version in RHEL 8.6 is sufficiently old that "three way" ssh (person at HostA wanting to transfer a file from Server1 to Server2) requires that port 22 be open from Server1 to Server2.

Bit of a wild idea, I haven’t used SSH tunnels in years, so a bit fuzzy on the details:

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?

And then vice versa to the new machine to restore? (Unless access to that one is easier of course)

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.



В списке pgsql-general по дате отправления
От: Kouber Saparev
Дата:
От: Tom Lane
Дата:
FAQ