Sharepoint 2016 databases

Sprocket 21 Reputation points
2021-04-19T14:17:37.55+00:00

We are running Sharepoint 2016 and I need to backup its databases on our SQL. We run many databases on our SQL server other than just Sharepoint and Sharepoint was installed and previously updated many years ago by someone else that has left. This means our SQL has about a hundred databases including the Sharepoint with a couple that look the same, but maybe old files.
Is there a way to see what SQL databases Sharepoint is currently using?

Microsoft 365 and Office SharePoint Server For business
{count} votes

Accepted answer
  1. Elsie Lu_MSFT 9,801 Reputation points
    2021-04-20T02:00:58.883+00:00

    Hi @Sprocket ,

    If you want to view the database being used, you can run the following command:

    Get-SPDatabase | Select displayname, NormalizedDataSource, Type  
    

    89293-3.jpg

    Or go Central admin > Upgrade and migration > Review Database Status on this page, you will get list of database being used in SharePoint along with Sql Server information:
    89249-2.jpg

    Reference:
    Find out which sharepoint server is using the databases


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.