When you click on the 'Recover data from an unattached content database link', you will land on an unattached content database data recovery page. This page will let you recover the content from the content database, which is not the part of SharePoint Farm.


Unattached content database data recovery page’s direct link - /_admin/UnattachedDbSelect.aspx

In a scenario, we have a copy of content database, which is attached to SQL and we want to recover a site collection from this DB. We can’t attach it to SharePoint as another copy of the same content DB is already attached to it and we don’t have another SharePoint Farm, where we can attach it.

In SharePoint, we have an option called recover data from the unattached content database. In this option, we don’t need to attach the content database to SharePoint Farm, rather by simply using the central admin Website (we can user PowerShell) we can recover the content (Backup of site collection, export a site collection, export site/ list/ library) from a content database, which is attached to SQL server and accessible by SharePoint admin.

This option really helps, when we have a copy of content database backup and want to recover the content from that database.

Prerequisite

Restore a site collection.

Let’s take the backup of the site collection from the unattached content database.

Once we get the copy of the backup, then we have to run the restore, which is only available in PowerShell. We can’t restore it via central admin. We have to run the Restore-SpSite command in order to restore it.

In the steps given above, we show how to take the backup of the site collection from an unattached content database. We can also export a site collection, site, library or list as well.