Re: Pg_dump backup

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Pg_dump backup
Дата
Msg-id 17994ffb-4dac-99aa-b889-523d2f579c83@gmail.com
обсуждение исходный текст
Ответ на Pg_dump backup  (Daulat <daulat.dba@gmail.com>)
Ответы Re: Pg_dump backup  (Holger Jakobs <holger@jakobs.com>)
Список pgsql-admin
On 2/23/22 8:14 AM, Daulat wrote:
> H Team,
>
> I need your advice.
> How can we ensure the pg_dump backup is successful?

Check the return code immediately after pg_dump completes:
pg_dump ....
echo $?

If it's 0, then pg_dump exited successfully.

Of course, it's always good to test the dump files by restoring them on 
non-prod systems.

-- 
Angular momentum makes the world go 'round.



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

Предыдущее
От: "Dischner, Anton"
Дата:
Сообщение: AW: Pg_dump backup
Следующее
От: Holger Jakobs
Дата:
Сообщение: Re: Pg_dump backup