2011/4/26 Marcus Hüwe
On 2011-04-26 15:55:16 +0300, Johannes Lahti wrote:
The worst thing happened.. Before I got the backup processes properly defined, I lost my server file system.
I have a backup copy of /srv/obs -folder, but it seems that it is not enough to restore the OBS. Is there anyway I could recreate the databases out of the data that is under /srv/obs?
To some extent you can recreate the database with the "src/api/script/import" script. It gets the project and package metadata from the backend and adds it to the database (this way it'll also recreate the users).
Thank you so much! It seems that I was able to restore the system using this script. I had to recreate remote projects from xml's first and also made some modifications to the script to skip sub projects of remote projects. -Johannes -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org