0

We had major database crash and our master database got broken. Probably it will be rebuild so then we will have to configure logins and user mappings for sharepoint databases. Is there some kind of automatic way to do so, or maybe we have to do it manually according to Microsoft docs?

1 Answer 1

2

Even this could seems useless in your situation, please do a SQL Backup of your corrupted DBs, I can't promise you'll solved your problems usign this.

I did it once for a Content Database (in powershell):

    $db = Get-SPDatabase "Your DB";
    $db.Repair($true);
    $db.Update();

In stsadm there is also the line stsadm -o Databaserepair

1
  • this is a no-go for me, because none of my sharepoint server has connection to db server.
    – jjczopek
    Feb 9, 2012 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.