Re: pg_dump why no indicator of completion

Поиск
Список
Период
Сортировка
От Holger Jakobs
Тема Re: pg_dump why no indicator of completion
Дата
Msg-id D2233CA3-EC91-4154-AD06-730E3E574DE5@jakobs.com
обсуждение исходный текст
Ответ на pg_dump why no indicator of completion  (richard coleman <rcoleman.ascentgl@gmail.com>)
Список pgsql-admin
At least it you use plaintext dump, you can check with tail dumpFile for the message


Am 1. Mai 2023 02:18:06 MESZ schrieb richard coleman <rcoleman.ascentgl@gmail.com>:
Hi all, 

I've been working with pg_dump and one thing that's always struck me as strange is that there never seems to be an indication in the log that the pg_dump process completed successfully.

For example, I've been running a bunch of backups with pg_dump in directory mode with multiple jobs.  When I come back several hours later there are no pg_dump processes running.  The log is filled with:
dumping contents of foo
finished item 123456 of TABLE DATA bar
etc.

Other than trying to restore the multi terabyte database somewhere else is there any way to know that it actually finished successfully?

Why doesn't pg_dump add a line in the output like:
pg_backup finished
when it's completed successfully? 

This seems like a terrible oversight.

Am I missing something obvious?

Thanks, 
rik.

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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: how to list privileges on the database object itself via SQL?
Следующее
От: Frank Lanitz
Дата:
Сообщение: Re: pg_dump why no indicator of completion