Dne 29.3.2012 18:26, Ann Harrison napsal(a): > 2012/3/29 Josef Kokeš<j.ko...@apatykaservis.cz> > >> >> Due to hardware malfunction, my database got damaged. GFIX (-v -f -i) >> tells me that a database has 1 "record level error", 9 "data page >> errors", 41 "index page errors" and 322 "database page errors". >> > > IBFirstAid is your friend, as is backup. But before you backup the > database, make a copy, use gfix to set it to read only, and back it > up with gbak, using the -g switch to suppress garbage collection. > > If that works, you're unlikely to have lost data. Backup walks each > table in storage order. The structures are linked, so a lost or damaged > data page will show up.
Luckily, the damaged table was one which rarely changes, so I was able to restore it from backup with good results. But I am noting down this suggestion for future reference. THanks for the suggestion! Josef ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/