SQL Content Database Restore

Environment :- Sharepoint 2013
The farm already has the content database attached to a web application (web app 1)
The client needs a same content database (copy) to be restored and attached to a new web application (web app 2). 
we are using the command -assignnewdatabaseid, even then we are not able to see all the site collections.
Please advise

That's expected behavior as the Site Collections have the same GUID, so the second copy (Web App 2) will not be able to see them. Your options are:
1) Restore the Content Database to a Web Application on another farm
2) Use Backup-SPSite/Restore-SPSite which assigns a new GUID to the Site Collection so you can 'duplicate' it within the same farm
3) Use a 3rd party content migration tool
4) Use Export-SPWeb/Import-SPWeb
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • SQL content database is locking when a user is disabled in Active Directory.

     We have an issue, first of all we are running custom code in C# within a visual web part to "Offboard Users".  In essence it disables their AD account and moves it to another OU using the ActiveDirectoryServiceClient.
    Sometimes it works seamlessly, other times it causes a lock in the SQL content DB. The list ID that always comes up with the error is the User Information List.  I have researched that SharePoint will update the UserInfo table with tp_Deleted when a
    user is Disabled. Would this also update the AllUserData table with a corresponding int value due to the foreign key relationships between these two tables?  If so could this update be causing the SQL lock? Is there anything we can do to expedite the
    process, it runs really long, goes to critical, locks the DB, proceeds to completion successfully, but meanwhile users cannot interact with the site. The list is indexed on user name and work email. It is close to 4,000 list items, but broken into views. However
    I don't think this has anything to do with the list itself as the Profile Service should be updating the list, the code does not.
    We have separate DB for each site collection and all are within / under the 100GB limit. 
    How is the AllUserData table updated from the UserInfo table? 
    Thank You,
    Crjangel 
    Frances Garland

    I wouldn't have expected such a problem, but there you are :-(. Luckily you can analyze further by issuing a SQL DMV query providing details about existing locks, for instance using this one:
    http://www.toadworld.com/platforms/sql-server/b/weblog/archive/2013/08/11/dmv-13-finding-locking-amp-blocking-sys-dm-tran-locks.aspx
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • SharePoint PowerPivot feature failing after site collection was backed up and restored (moved to new content database)

    Hi there,
    I am having some strange issue with my PowerPivot for SharePoint but can't figure out what is causing this. Here is what happened:
    I setup PowerPivot (PP) for SharePoint and activate it on few site collections in production environment; I upload a PP workbooks in a library, manage the data refresh schedules, run the data refresh for an external SQL databases, etc. Everything works
    fine for several days.
    One day we decide the move one of the site collections (X) from its current content database to its own (new) content db. The way we did it is that we took the site collection backup in production, restored it in test environment (in its own content
    db; we deleted the old site collection in test first before restoring), checked everything including PP data refreshes etc.; all worked fine.
    Then we did the same thing in production - we deleted the old site collection X, restored the site collection from the same backup file that we used in test environment, everything works fine EXCEPT the PowerPivot refreshes!! :-(
    I am getting these errors: When I click on the workbook, it gives this error "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data"
    When I click OK on error dialogbox, it opens the workbook fine but no slicers/refreshes work now. When I go back to the library and click on "Manage PowerPivot Data Refresh" to open the refresh history/schedule page, it gives this generic but scary
    error: "An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation." ULSViewer or Event viewer is not showing anything related to this error!
    Strange thing is that PP refresh works fine in Test environment, as well as on other site collections in production that we didn't touch (which tells me there is nothing wrong with my PP configuration). Did the backup/restore in prd cause anything? Did moving
    it in its own contentdb cause anything? (But then why it works in test environment?) Is there anything wrong with site collection PP feature? Can force reactivating it help??????? I am just lost and going crazy now!
    Please help.
    Asif

    I have found some entries in ULS logs seemingly relevant to this issue as below: Please help. Thanks.
    Note: I have replaced urls with <url> or <server> and username with "domain\user".
    ExternalSource.GetExternalKeyAndStateAndMarkUsed: Populating the session's credentials for external data. Index=0, Credentials=[14337250,
    domain\user]
    ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://<url>/SQL_PowerPivotTest.xlsx, Version=Monday, 09 September 2013 06:29:42
    Check whether "http://<url>/SQL_PowerPivotTest.xlsx" is in the farm.
    Connecting to "http://<server>/_vti_bin/PowerPivot/Redirector.svc/?DataSource=/team/IT/SiteCollectionDocuments/SQL_PowerPivotTest.xlsx&LocaleID=1033".
    WcfSendRequest: RemoteAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'Microsoft.AnalysisServices.SharePoint.Integration.IGeminiServiceApplicationClient'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    WcfReceiveRequest: LocalAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    Entering monitored scope (ExecuteWcfServerOperation)
    Obtaining routing information for the request using <SERVER> - User:domain\user, DataSource: http://<url>/SQL_PowerPivotTest.xlsx,
    Version: 09/09/2013 06:29:42. (RequestStartTime=[<SERVER>])
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=10.7664521608193
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    Proxy encountered an error while trying to get the sandbox information. This request will be terminated
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'hresult error' 0x80040e41 ; Stack Trace:NA
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    connectionString=Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Optimize Response=3;Cell Error Mode=TextValue pool
    count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'PowerPivot Data' in the workbook 'http://<url>/SQL_PowerPivotTest.xlsx'.
    [Session: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N User: 0#.w|domain\user]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, Credentials
    credentials, ExtendedConnectionInfo extendedConnectionInfo, Boolean shouldReportFailure, Boolean auditConnection, Connection& connectionOut). sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    externalSource=PowerPivot Data
    ConnectionInfoManager.InitConnInfoFromOdcFile: ODC File Uri is not valid:
    ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String
    externalSourceName, Int32 externalSourceIndex, Boolean& shouldReportFailure)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo,
    ExternalSourceStateInfo prevExternalSourceStateInfo, Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOperation, Boolean verifyPreOperationConnection), Data Connection Name:
    PowerPivot Data, SessionId: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N, UserId: 0#.w|domain\user

  • How to Manually Restore SharePoint Content Database from DPM Backup to Alternative Farm

    I have restored a content database of a site collection from a DPM backup, and the result is the MDF and LDF files of the database in a directory I specified in the restored wizard in DPM.
    In my other SharePoint farm (a test environment) simply trying to attach these files in the target farm's SQL server produces an error as follows:
    "Paths that begin with \\?\GlobalRoot are internal to the kernel and should not be opened by managed applications. (mscorlib) "
    Given I have the DPM restored database, on an alternative farm, how can I manually restore this content database? What are the required steps?
    Thanks,
    Richard

    Hi
    Gr8 - don't ask me to explain, somehow SQL caches the backup location which is from a snapshot starting with
    \\?\GlobalRoot and copying them discards that so they can me mounted.
    Glad that resolved your issue.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Project Server 2013 restore site from content database

    My Project server was moved from one domain to other so i had to recreate everything since distributed cache was nt happy. I recreated everything. Now i have contet database from porject server that i need to restore to brand new environment. How to do that? 
    Simply doing rmount content database is not working? How to reprovision it in Project server service application?
    Adit

    You mention that you mounted the content database.    Did you do this with PowerShell?  Have you tried adding the content databases, using the menus under Application management?
    If that fails, I would just rebuild by doing the following. There probably is an easier way to do this, but here is what I would do
    1) Delete the web application used for Project server
    2) Create a new web application and point to the content database. 
    3) Then you can provision project server
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • From SharePoint Content Database, Using SQL-Server Query how to fetch the 'Document GUID' based on 'Content Type'

    I want to get all the documents based on content type using SQL Server Query. I know that, querying the content database without using API is not advisable, but still i want to perform this action through SQL Server Query. Can someone assist ?

    You're right, it's not advisable, may result in corruption of your databases and might impact performance and stability. But assuming you're happy to do that then it is possible.
    Before you go down that route, have you considered using something more safe like PowerShell? I've seen a script exactly like the one you describe and it would take far less time to do it through PS than it would through SQL.

  • Content database and share point configuration databases in different sql servers

    HI
    i have a sharepoint 2010 farm and connected to a sql server ,
    here it can be possible to connect all sharepoint configuration databases to one sql server,
    and content database in different sql server ,
    if i do in future can i face any issues?
    adil

    Yes you can. You can specify the SQL server whilst creating the databases and as long as you have configured the required permissions that will be fine. If you really wanted you could have a dedicated SQL instance for each database, although that would be
    very wasteful.
    There are no significant issues, you will have a bit more maintenance to look after two SQL servers but that's about it.

  • Upgrading Sharepoint Content Database from 2008R2 sql server to SQL Server 2012

    I am doing an upgrade of SharePoint 2010 to 2013.
    What is the best way for the SharePoint database in 2008 to upgrade to 2012.
    attaching just the backup of content database should work or there is some other considerations as well along with.
    Are there any  known issues while upgrading the SharePoint database from 2008 to 2012.
    this is not an in place upgrade.
    kukdai

    If I may continue this question. I am upgrading MSSQL 2008 to MSSQL 2012. This box contains all of the DBs for our Sharepoint installation.  I am not a Sharepoint admin, I am a DBA.  So let me get this straight , from what I read up above all I
    have to do is just go through the standard procedure of upgrading SQL server 2008 to 2012 and the sharepoint DBs will upgrade with it w/o an issue.  Are there any gotchas with SSRS?  
    My SQL box runs WIN 2008 and has all necessary MSoft updates.
    Ianaa

  • PREEMPTIVE_OS_GETPROCADDRESS SQL database restoration hangs

    Hi,
    We are using SQL Server 2008 R2 SP1 in our production environment and Litespeed tool for SQL database backup.
    Today we are facing an issue in database restoration. while the database restore is 100% done, it hungs and the database in the restoring status itself. We checked the wait-type and found out "PREEMPTIVE_OS_GETPROCADDRESS" for Query type xp_restore_database.
    It was working fine till yesterday and today suddenly we got this error. We restarted the restore job and again we are facing the same issue. 
    Can you please help on this. 

    Hello,
    Try the workaround posted on the following resource:
    http://commweb-ps3.us.dell.com/techcenter/data-protection/f/4786/p/19555044/20552862.aspx
    This error has been documented on other third-party backup tools. Please read the following post and the comments:
    http://blogs.msdn.com/b/psssql/archive/2010/07/21/why-does-preemptive-os-getprocaddress-show-a-large-accumulation.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server 2012 restoring database from backup file

    Hi All,
    1. I was restoring the database from PROD box to DEV box with the deferent name.
    For Ex: Both PROD and DEV boxes are having "A" database. Now I am refreshing database"A" from PROD bot to DEV box with name "B". Now while restoring in SQL server 2012 I used GUI and took database name as "A" by default.
    by mistake I executed the request. before completing I notice that "A" database in DEV Box went to restoring mode.
    Now, in middle I stopped the query but still I am seeing database "A" is in restoring state.
    Please guide me is there any way to bring database online with current data?
    2. Why sql server 2012 takes tail log backup of the existing database while restoring database with different name?

    Hi,
    check this link for the same issue and solutions:
    http://stackoverflow.com/questions/520967/sql-server-database-stuck-in-restoring-state
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • SharePoint 2013, SQL Server 2012 SP1 Enable RBS for Additional Content Databases

    We Enabled RBS in our SharePoint 2013 Environment recently. The time when we Configuring we had only one Content Database and we successfully configured. now we created more web applications and we need to enable RBS for newly created Content Databases.
    we searched and tried lots of approaches, but we cudn't manage to achieve this. can anyone help us to enable RBS on additional Content Databases. (No offense but direct instructions would be great rather than providing links).
    Thank you!

    Here is step by step instruction with screenshot
    http://thesharepointfarm.com/2011/03/enabling-rbs-on-multiple-content-databases/
    Try to run
    run this command on the SharePoint server: msiexec /qn /i rbs.msi REMOTEBLOBENABLE=1 FILESTREAMPROVIDERENABLE=1 DBNAME=”WSS_Second” FILESTREAMSTORENAME=FilestreamProvider_1 ADDLOCAL=EnableRBS,FilestreamRunScript DBINSTANCE=”DBServer”
    Thank you so much for the reply Indrajeet. we followed the instruction to the letter but when we try the command, it failed. while doing some search, we came across an interesting Article.
    http://rudolphoravec.blogspot.com/2012/10/remote-blob-storage-rbs-and-sharepoint.html
    And surprisingly it is Working.

  • Empty content database filled up SQL hard disk

    Anyone have this situation.
    SharePoint 2013 farm.
    Content databases migrated from SP 2010 farm.
    New content database added. No site collections in it yet. But something ran and put a 100 GB in the DocStreams table and filled my hard disk.

    There's been similar issues in the past with 2007 and 2010
    http://blogs.msdn.com/b/sowmyancs/archive/2012/06/29/alldocversions-amp-alldocstreams-table-size-after-upgrading-to-sharepoint-2010.aspx
    But it doesn't make much sense that it's a new content database that's grown so much.

  • Error in taking backup of RBS enabled content database!

    Hi All,
    I have implemented RBS for SharePoint 2013 / SQL Server 2012. While I need to
    take backup of RBS enable site collection and I received the following
    errors
    Site Collection Backup
    Current Job Status No operation in progress. Previous Job
    Status Failed
    Completed 2/15/2015 3:55 AM Duration (hh:mm:ss) 0:00:02
    Recovery Step To recover the data, use the PowerShell restore command
    Restore-SPSite. For more details, type Restore-SPSite -? at the PowerShell command prompt.
    Error Message There was a generic database error. For more information, see the included exception.
    I could not find any relevant TechNet or blog post pertaining to this error. SharePoint 2013 gives general
    backup and restore strategies.  
    Q: How could take a backup and restore for RBS enabled content database?
    Please suggest how I could achieve this. Any help would be highly appreciated.     
    Thanks in advance. 
    Sandy

    Hi Sandy,
    According to your description, my understanding is that you want to backup and restore RBS enabled content database in SharePoint.
    If you use the local FILESTREAM provider with RBS, you can use built-in SharePoint tools to back up and restore. These operations back up and restore both the metadata and the BLOB store. If you use the remote RBS provider, you must carefully coordinate
    the backup and restore processes.
    It is very important to take note of the filestream provider name. Then you can detach database, and copy primary file, log file and BLOB storage folder to new server and attach.
    It is also important to remember to enable FILESTREAM on all nodes of the cluster. Without it, SQL query to attach database doesn't work.
    Here are some posts, please check if they are useful for you:
    http://sharepoint.stackexchange.com/questions/104130/how-to-do-we-backup-restore-the-rbs-enabled-content-db-in-sharepoint-2010
    https://technet.microsoft.com/en-us/library/ff628583.aspx
    http://blogs.msdn.com/b/opal/archive/2010/03/24/faq-sharepoint-2010-remote-blob-storage-rbs.aspx
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to add an existing content database to new Site collection

    Hi All,
    Can anyone help to figure out how can I add existing content database to a new site collection in SharePoint 2013 foundation.
    We have more than 40 site collections under one web application, and only one site collection is returning 404 error. When checked in the central admin to view all site collections, the details on the right side of the site is not visible, and unable
    to delete it. The database is not corrupt, as I tried to add the same content database to a new web application, and it works perfectly in a new web app.
    As we couldn't find any solution, the only option we thought of was to blow the site collection and create a new one and add the exisiting database, but I am unaware as to how can I add existing database to new create site collection. Can anyone help
    me with this please?
    Regards,
    DJ

    It's working....
    The current database was corrupt I guess, (not sure though). Took old backup file and tested to see if it's working. After the test was successful...
    Removed the current database in CA
    Delete the current database in SQL server
    Restored the working backup file in SQL server
    Added the content db in CA
    That's it... the site collection is working now...
    Regards,
    DJ

  • Sharepoint 2010 - how to move content database when RBS (remote blob storage) is enabled

    Good day.
    I have two Sharepoint Server 2010 instances - test and production.
    i've turned on RBS(remote blob storage) on test. In future i want to copy content database from prod to test. What should i do, if RBS is not enabled on production?
    And second question. After RBS is on, all new files moves to external storage. I want to move to ext storage files, that already exists in my content DB. I found that i need to create second filestreamprovider
    and execute Migrate() for new provider. Can i do this for first provider without creating second?

    Why dont you plan to use Site backup then instead of database backup
    In your case you will have to restore the backup to a RBS enabled SQL server. Then remove RBS from that database.
    http://technet.microsoft.com/en-us/library/ff628259%28v=office.15%29.aspx
    http://technet.microsoft.com/en-us/library/ff628257%28v=office.14%29.aspx
    $site=Get-SPSite "<http://yourSiteURL>"
    $rbss=$site.ContentDatabase.RemoteBlobStorageSettings
    $rbss.SetActiveProviderName("")
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • How can I add .chm files (ebooks) to my itunes library to sink with my ipod touch?

    how can I sink .chm files to my ipod touch, I can`t even add them to my itunes library...

  • ERROR 1058 WHEN starting INFRASTRUCTURE

    I am using Portal and Infrastructure 10g metadatabase ASDB is 9.0.x In order to use Oraacle Warehouse Builder(OWB) i had to have a 10.1 level runtime DB. So I installed 10g oracle database and kept one listener at that level (10.1). Infrastructure li

  • Qosmio X500: power adapter stopped working for no reason

    Hi, Now i have my Qosmio X500 for a year and i like it, however i have small problems with it, and i would like to know if it can be problematic. The first thing is that my power adapter stopped working for no reason, So i bought a new one, but it al

  • ColdFusion MX 7 migration

    Hi, Our old server's Hard disk failed and we want to migrate coldfusion to the another server. Can anyone please let me know how to migrate all the sites and datasources to the another server. (How to migrate all the coldfusion data to the new server

  • Restore Inbox Email Accounts from Time Machine?

    My Mac lost power while I was in Mail. When I rebooted, my mail had lost all my Inboxes and accounts. I tried to restore from Time Machine, but I can't get all my accounts back. I have found all my stored emails in a Time Machine folder. Is there any