Recovering SQL databases

This section describes recovery from both database backups and application-aware backups.

You can recover SQL databases to a SQL Server instance, if Agent for SQL is installed on the machine running the instance. You will need to provide credentials for an account that is a member of the Backup Operators or Administrators group on the machine and a member of the sysadmin role on the target instance.

Alternatively, you can recover the databases as files. This can be useful if you need to extract data for data mining, audit, or further processing by third-party tools. You can attach the SQL database files to a SQL Server instance, as described in "Attaching SQL Server databases".

If you use only Agent for VMware (Windows), recovering databases as files is the only available recovery method. Recovering databases by using Agent for VMware (Virtual Appliance) is not possible.

System databases are basically recovered in the same way as user databases. The peculiarities of system database recovery are described in "Recovering system databases".

To recover SQL databases to a SQL Server instance

  1. Do one of the following:
  2. Click Recovery.
  3. Select a recovery point. Note that recovery points are filtered by location.

    If the machine is offline, the recovery points are not displayed. Do one of the following:

    The machine chosen for browsing in either of the above actions becomes a target machine for the SQL databases recovery.

  4. Do one of the following:
  5. By default, the databases are recovered to the original ones. If the original database does not exist, it will be recreated. You can select another SQL Server instance (running on the same machine) to recover the databases to.

    To recover a database as a different one to the same instance:

    1. Click the database name.
    2. In Recover to, select New database.
    3. Specify the new database name.
    4. Specify the new database path and log path. The folder you specify must not contain the original database and log files.
  6. [Optional] [Not available for a database recovered to its original instance as a new database] To change the database state after recovery, click the database name, and then choose one of the following states:
  7. Click Start recovery.

The recovery progress is shown on the Activities tab.

To recover SQL databases as files

  1. Do one of the following:
  2. Click Recovery.
  3. Select a recovery point. Note that recovery points are filtered by location.

    If the machine is offline, the recovery points are not displayed. Do one of the following:

    The machine chosen for browsing in either of the above actions becomes a target machine for the SQL databases recovery.

  4. Do one of the following:
  5. Click Browse, and then select a local or a network folder to save the files to.
  6. Click Start recovery.

The recovery progress is shown on the Activities tab.