SharePoint database Explorer
SharePoint Database Explorer
This tool will help you export files from a corrupt .mdf database. In order for this to work you must be able to successfully mount the database either through OSQL or SQL. This tool should be used at your own risk. Thanks
Program Download location: https://mindsharpblogs.com/james/archive/2005/01/20/189.aspx
Database Files needed:
1. STS_Servername_1.mdf
2. STS_Servername _1_log.ldf.
Using SharePoint Database Explorer with OSQL
- Download the SharePoint Database Explorer files
- Extract the the files to a folder on the desktop.
- Copy the STS_Servername_1.mdf and the STS_Servername _1_log.ldf C:\Microsoft SQL Server\MSSQL$SHAREPOINT\Data\.
- Attach the databases using OSQL:
- At a command prompt type:
osql -S servername\sharepoint –E
1>EXEC sp_attach_db @dbname = 'STS_SERVERNAME_1', @filename1 = 'C:\Program Files\Microsoft SQL Server\MSSQL$SHAREPOINT\Data\ STS_SERVERNAME_1.mdf', @filename2 = 'C:\Microsoft SQL
Server\MSSQL$SHAREPOINT\Data\STS_SERVERNAME_1_log.LDF'
2>Go
- Open Database Explorer
- Enter the server\instance name
- If you copied the database to the MSSQL$SHAREPOINT\data your instance name would be sharepoint
- Select the "+" sign
- Select the library on the left
- It will then show you documents on the right you can export.
- Select the different libraries to view the documents available for restore.
- Highlight the file you would like to restore - select the save button.
- Save the file to a location on your Hard drive.
- Send the users the files.
- Once the new SharePoint site has been created they can then upload the files back to the site.
Using SharePoint Database Explorer with SQL Server
Installation
- Download the SharePoint Database Explorer files
- Extract the the files to a folder on the desktop.
- Copy the STS_Servername_1.mdf and the STS_Servername _1_log.ldf to a common location.
- Open SQL Server Enterprise Manager
- Start - All Programs - Microsoft SQL Server - SQL Server Enterprise Manager
- Select Attach Database
- Browse to the .MDF you need to export files from
- Select the Database to attach.
The database should now be attached.
- You can check this by viewing the Databases Folder in SQL.
Open SharePoint Database Explorer
- Select File - Set Database Connection.
- The Database should appear in the drop down list.
- Select the data base - Leave the permissions set to Windows Authentication - Select OK
- You will now see a list of Libraries
- Select the different libraries to view the documents available for restore.
- Highlight the file you would like to restore - select the save button.
- Save the file to a location on your Hard drive.
- Send the users the files.
- Once the new SharePoint site has been created they can then upload the files back to the site.
Thanks,
>edwalt
Comments
Anonymous
September 08, 2006
great software save me a lot of work thanksAnonymous
February 29, 2008
qWPyUC r u crazzy? I told u! I can't read!Anonymous
March 01, 2008
XK9JDL r u crazzy? I told u! I can't read!Anonymous
March 06, 2008
dRMZGB r u crazzy? I told u! I can't read, man!Anonymous
March 06, 2008
RrpfwO r u crazzy? I told u! I can't read!Anonymous
March 07, 2008
xcSQv1 r u crazzy? I told u! I can't read!Anonymous
March 07, 2008
3WNNkt r u crazzy? I told u! I can't read!Anonymous
March 07, 2008
3WNNkt r u crazzy? I told u! I can't read!Anonymous
March 07, 2008
oCQgsT r u crazzy? I told u! I can't read!Anonymous
March 07, 2008
YAE3hP r u crazzy? I told u! I can't read!Anonymous
March 08, 2008
iMehBX r u crazzy? I told u! I can't read!Anonymous
March 08, 2008
ptjlm5 r u crazzy? I told u! I can't read!Anonymous
March 10, 2008
I am trying to access data via SQL server. The databses have been attached, but do not show up in the select drop down list in DBExplore, just a number of listings for "master" which fail to connect. What do I need to do to access the attached DBs in SQL? ThanksAnonymous
April 11, 2010
I noticed that if you have subfolders and a list and multiple files with the same name in different subfolders within the list, then the software only lists one file with that name and you do not knwo which subfolder it belows to.