Re: Backup strategy

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Backup strategy
Дата
Msg-id CAH2-Wzn5aROAPLQTLa8o1dqMV_KAEkiUPTrDLVPyp9YZjeAKWA@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Backup strategy  (David Barron <david.barron@zencos.com>)
Ответы RE: Backup strategy
Список pgsql-admin
On Wed, Feb 28, 2024 at 11:45 AM David Barron <david.barron@zencos.com> wrote:
> David Barron <david.barron@zencos.com> writes:
> > I'm responsible for a couple of databases that have constraints and indexes on most, if not all, of the tables,
whichmeans that the tables have to be backed up and restored in the correct order to take the constraints into account.
But pg_dump and pg_restore don't take that into account, so when doing restores I was running into errors. 

Are you doing the backups on a physical replica?

I wonder if it could be related to an issue that this user also ran
into a little while ago:

https://postgr.es/m/17846-1a0e5ce976f4c01a@postgresql.org

--
Peter Geoghegan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Backup strategy
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Backup strategy