Hard Disk Failure, best way to salvage database changes?
The hard drive on my laptop looks like its failing. This seems to have affected some of PostgreSQL files so that I get this error when trying to backup the database
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: could not read block 206626 of relation 1663/16403/16440: Invalid argument
pg_dump: The command was: COPY public.game_players …
pg_dump: *** aborted because of error
Error 1 has occurred ==== BACKUP FAILED TO COMPLETE!!!
Is there any chance I can repair (even partially) the database and back it up?
My last successful backup was end of last month. I can see all my stats for this month, but if I try to bring up all dates, I get a SQL error, so I figure the corrupted files are pre-this month. Is there anyway to backup only this month’s changes then merge the databases?
If not, I have kept the processed hand histories since the last backup. If I restore from last month’s backup (to new HD) and then re-import this month’s hand histories, what will I be missing … Player notes, Favourites hands? (can I backup/export these separately?)
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: could not read block 206626 of relation 1663/16403/16440: Invalid argument
pg_dump: The command was: COPY public.game_players …
pg_dump: *** aborted because of error
Error 1 has occurred ==== BACKUP FAILED TO COMPLETE!!!
Is there any chance I can repair (even partially) the database and back it up?
My last successful backup was end of last month. I can see all my stats for this month, but if I try to bring up all dates, I get a SQL error, so I figure the corrupted files are pre-this month. Is there anyway to backup only this month’s changes then merge the databases?
If not, I have kept the processed hand histories since the last backup. If I restore from last month’s backup (to new HD) and then re-import this month’s hand histories, what will I be missing … Player notes, Favourites hands? (can I backup/export these separately?)