pg_upgrade as a way of cloning an instance?

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема pg_upgrade as a way of cloning an instance?
Дата
Msg-id CAKoxK+7GD7_y2q9+DBMRa6H4WuWmKvUYo5S5Y=paG-rcf+EjgQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_upgrade as a way of cloning an instance?
Список pgsql-general
Hi all,
someone pointed me out that pg_upgrade can be used to do a clone of
the database, specifying the same binaries such as

pg_upgrade -B /usr/pgsql-13/bin -b /usr/pgsql-13/bin -D /data/clone -d /data/src

I tested it and it seems to work, even if I don't see any point in
running it (and most notably it requires a downtime on the original
cluster).
Any opinion about that?

Thanks,
Luca



В списке pgsql-general по дате отправления: