You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ulrich Eckhardt <ec...@satorlaser.com> on 2010/06/08 10:44:59 UTC
Locking a repository
Hi!
I have a BDB repository where the nightly backup threw up a "fatal region
error". In order to resolve that, I wanted to try to recover the database.
First thing I noticed, and which already confused me in the paths, was that
the error tells you to "run database recovery" but "svnadmin recover" is (I
believe) not the right tool but "db4.6_recover" from the BDB tools is. At
least "svnadmin recover" runs without any issues, but "svnadmin verify" still
produces errors.
The next thing I wondered was how I can lock the whole repository while
running db4.6_recover on the database. "svnadmin" does it, e.g. the "recover"
function bails if there is a hung "svnserve" process keeping it from an
exclusive lock, but how can I do so manually?
Also, do I actually have to lock the database at all or can I just run
db4.6_recover on it without?
Thanks!
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************