This topic describes the recovery of a content database to the original SharePoint farm by using Acronis Backup.
The recovery to a non-original farm is a more complicated procedure. Its steps vary depending on the farm configuration and other parameters of the production environment.
Recovering a content database by using Agent for SQL
This method allows you to recover a database from a single-pass backup of a machine running SQL Server.
To recover a content database
In SharePoint 2010 or later:
Mount-SPContentDatabase <database> -DatabaseServer <database server> -WebApplication <site url>
In SharePoint 2007:
stsadm.exe -o addcontentdb -url <site url> -databasename <database> -databaseserver <database server>
Recovering a content database by using Agent for Windows
This method allows you to recover a database from a disk-level backup of a machine running SQL Server.
To recover a content database to the original SQL server
If you are recovering the database to another location on the disk, recover the database files as described in "Recovering SQL Server databases from a disk backup", including the database attachment step.
To recover a content database to another SQL server of the original farm
In SharePoint 2010 or later:
Dismount-SPContentDatabase <database>
If you have multiple content databases that have the same name, you must use the content database GUID in this command instead of using the content database name. To retrieve the GUID of the content database, run the Get-SPContentDatabase cmdlet with no arguments.
In SharePoint 2007:
stsadm -url <web application url> –o deletecontentdb –databasename <database>
In SharePoint 2010 or later:
Mount-SPContentDatabase <database> -DatabaseServer <database server> -WebApplication <site url>
In SharePoint 2007:
stsadm.exe -o addcontentdb -url <site url> -databasename <database> -databaseserver <database server>