Re: pg_dump crashes

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: pg_dump crashes
Дата
Msg-id 5411ea7c-2fc4-e75d-1ae6-f002b06cb1c2@aklaver.com
обсуждение исходный текст
Ответ на Re: pg_dump crashes  (Nico De Ranter <nico.deranter@esaturnus.com>)
Ответы Re: pg_dump crashes
Список pgsql-general
On 5/24/20 10:30 PM, Nico De Ranter wrote:
> Unfortunately not. I discovered the issue rather late. The last working 
> backup is about 2 months old.

Well first it is entirely possible this is not the only corruption in 
the database.

Second you are probably going to have to reach out to the Bacula folks:

https://www.bacula.org/support/
https://sourceforge.net/projects/bacula/lists/bacula-users

I would say the questions to ask them are:

1) Is the md5 required for a file?

2) If so how and over what is calculated?


Then you could experiment with trying to update the md5 field with new 
data.

>      >
>      >
>      >
>      > Following up on the max(bigint), I tried
>      >
>      >     SELECT md5 FROM public.file where fileid >2087994666;
>      >
>      > and got
>      >
>      >     ERROR:  compressed data is corrupted
>      >
>      > So it does look like those entries are killing it.  Now for the
>      > million-dollar question: how do I get them out?
> 
>     Do you have recent previous backup?
> 
>      >
>      > Nico
>      >
>      > --
>      >
>      > Nico De Ranter
>      >
>      > Operations Engineer
>      >
> 
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 
> 
> 
> -- 
> 
> Nico De Ranter
> 
> Operations Engineer
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: FDW and RLS
Следующее
От: Charles Clavadetscher
Дата:
Сообщение: Re: FDW and RLS