Search Postgresql Archives

Re: Database Recovery from Corrupted Dump or Raw database table file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/11/2016 13:44, Vick Khera wrote:
On Mon, Nov 7, 2016 at 8:23 AM, Howard News <howardnews@xxxxxxxxxxxxx> wrote:
pg_restore: executing SEQUENCE SET example_seq
pg_restore: processing data for table example_table
pg_restore: [compress_io]

** crash **
What crashes? the pg_restore process or the backend server?


The pg_restore crashes.

For example if I run the "pg_restore -f example.sql backup" then it will fall over when it tries to restore one of the corrupted tables. Presumably the backup itself is corrupted.

The "pg_restore --list" works fine, so I can run a selective restore by commenting out the dodgy tables using the "pg_restore -L" option.

Regarding the postgres ids, these appear to be listed in the pg_restore -L so I can find out which data file the tables refer to, but I have not found out how to restore a single one of these files to a usable or readable state yet.



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux