Re: [GENERAL] Final pg_dumpall should happen in Single-User-Mode

Поиск
Список
Период
Сортировка
От Thomas Güttler
Тема Re: [GENERAL] Final pg_dumpall should happen in Single-User-Mode
Дата
Msg-id 0256c1bd-c3c3-01c2-e23e-32b572eb101f@thomas-guettler.de
обсуждение исходный текст
Ответ на [GENERAL] Final pg_dumpall should happen in Single-User-Mode  (Thomas Güttler <guettliml@thomas-guettler.de>)
Ответы Re: [GENERAL] Final pg_dumpall should happen in Single-User-Mode  (Thomas Güttler <guettliml@thomas-guettler.de>)
Список pgsql-general
Just for the records, I asked here the same question and got some replies:

https://dba.stackexchange.com/questions/186045/how-do-i-prevent-changes-to-my-database

Am 11.09.2017 um 15:25 schrieb Thomas Güttler:
> I did a stupid mistake. I run the final pg_dumpall without switching to single-user-mode first.
> 
> With "final" I mean that the dump should be transferred to a different machine. After the dump
> the old machine was shut down forever.
> 
> My mistake was that I stopped the services, but one process was still alive and this process
> inserted to the database after pg_dumpall has started.
> 
> I guess I am not the first one who did this stupid mistake.
> 
> What do you think? Wouldn't it be polite to add a note about this topic to the docs?
> 
> Here are the docs for pg_dumpall: https://www.postgresql.org/docs/current/static/app-pg-dumpall.html
> 
> How could the wording look like? I am not a native speaker ....
> 
> Or do you have a better/different idea?
> 
> Regards,
>    Thomas Güttler
> 
> 

-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [GENERAL] Logcal replication in large scale
Следующее
От: Nicklas Avén
Дата:
Сообщение: Re: [GENERAL] Logcal replication in large scale