Re: Unexpected block ID found when reading data

Поиск
Список
Период
Сортировка
От Gilar Ginanjar
Тема Re: Unexpected block ID found when reading data
Дата
Msg-id 97B5F3E8-0808-4E3D-8D5B-012661182685@innovation-project.com
обсуждение исходный текст
Ответ на Re: Unexpected block ID found when reading data  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi, Adrian

Thanks in advance.

pdgump command:
pg_dump -U myuser -Fc -Z3 -d mydb > dbdump.backup

I'm not sure which pg_dump version did i use before, but I used psql 12.5 to dump and the db version is postgresql 9.6.

pgrestore command:
pg_restore -U myuser -j8 -d mydb dbdump.backup

I’ve tried to restore to postgre 9.6, 12.1 and 12.5


> On 3 Aug 2021, at 09.11, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> On 8/2/21 6:42 PM, Gilar Ginanjar wrote:
>> Hi,
>> I have a db dump (.backup) that i want to restore. But it comes up with error:
>> "found unexpected block ID when reading data"
>> Is there any chance i can save my backup? The problem is I don't have the database anymore.
>> I used psql 12.5 when dumping the database approx a year ago.
>
> What command and version of pg_dump did you use to dump it?
>
> What command and program(and version) did you use to restore it?
>
> What version of Postgres where you restoring to?
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com




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

Предыдущее
От: Gilar Ginanjar
Дата:
Сообщение: Re: Unexpected block ID found when reading data
Следующее
От: Vikas Sharma
Дата:
Сообщение: Re: pgcrypto - real life examples to encrypt / decrypt