pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15110: Unable to backup database 2+ messages / 2 participants [nested] [flat]
* BUG #15110: Unable to backup database @ 2018-03-14 10:42 PG Bug reporting form <noreply@postgresql.org> 2018-03-14 11:46 ` Re: BUG #15110: Unable to backup database Sergei Kornilov <sk@zsrv.org> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2018-03-14 10:42 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: murthy.mvvs@gmail.com The following bug has been logged on the website: Bug reference: 15110 Logged by: Murthy Mvvs Email address: murthy.mvvs@gmail.com PostgreSQL version: 9.5.10 Operating system: linux Description: Dear Team, We are using atlassian bamboo for our build management and postgres as its Database. During the application upgrade, we wanted to take backup of our DB and we are unable to do the backup due to the following error. ERROR: could not read block 5064 in file "base/16391/16560": read only 4096 of 8192 bytes Help in this regard is highly appreciated. Thanks Murthy ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15110: Unable to backup database 2018-03-14 10:42 BUG #15110: Unable to backup database PG Bug reporting form <noreply@postgresql.org> @ 2018-03-14 11:46 ` Sergei Kornilov <sk@zsrv.org> 0 siblings, 0 replies; 2+ messages in thread From: Sergei Kornilov @ 2018-03-14 11:46 UTC (permalink / raw) To: murthy.mvvs@gmail.com <murthy.mvvs@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org> Hello This error message say your underlying filesystem returned less bytes than it should be. Usually this means storage was corrupted and should be checked by sysadmins. https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/storage/smgr/md.c#L776 So i suggest shutdown database, then copy full PGDATA directory, check disks and filesystem and recover database from backup. Or you may try enable zero_damaged_pages (this removes your data in such pages!) and copy the surviving data (better having another copy PGDATA). regards, Sergei ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-03-14 11:46 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-03-14 10:42 BUG #15110: Unable to backup database PG Bug reporting form <noreply@postgresql.org> 2018-03-14 11:46 ` Sergei Kornilov <sk@zsrv.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox