We're Hiring!

Omero database recovery from OMERO directory

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Omero database recovery from OMERO directory

Postby hroque » Wed Dec 21, 2011 9:48 am

Hi all,

Recently I lost access to my RAID setup. This meant new install from scratch. Now the physical database (eg the OMERO directory where pixels are stored) I could recover but not the tree database (eg users, trees, logins, etc).
Is there any way to recover at least databases and projects from reading the OMERO directory so I can at least give put back the data?

Thanks,
hroque
 
Posts: 36
Joined: Thu Nov 04, 2010 6:20 pm

Re: Omero database recovery from OMERO directory

Postby jmoore » Wed Dec 21, 2011 10:18 am

Unfortunately there's not. Unless you have a backup of your postgresql database all the metadata from the system is lost. You may be able to inspect the raw files under /OMERO/Files or the log files to determine some of what was lost, but it will certainly be time intensive. If there are any particulars we can help you with, please let us know.

~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Omero database recovery from OMERO directory

Postby hroque » Thu Jan 19, 2012 3:32 pm

After long I finally got the database back online.
Just a quick question: is a pg_dump sufficient to recover the whole postgresql database in case of full crash again? This assuming that the OMERO folder is untouched?

Thanks,
Helio
hroque
 
Posts: 36
Joined: Thu Nov 04, 2010 6:20 pm

Re: Omero database recovery from OMERO directory

Postby jmoore » Fri Jan 20, 2012 10:07 am

Correct. You need /OMERO and the pg_dump for the omero database (named "omero" in the install docs) in order to recover from a catastrophic failure.

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest