Restoring backups > Select backups > Destination database > Restore options > Review summary

On step 2 of the wizard, specify the destination database and the location of the database files.

Overwriting an existing database

To restore the backups to an existing database, select Overwrite existing database and select the database.

If you are restoring a full database backup or a filegroup backup, you can select any existing database. If you are restoring a differential database backup or a transaction log backup, only those databases that are in an "unrecovered" or "standby" state are available for selection.

The restore process will fail if there are existing connections to the destination database. To automatically kill any existing connections to the destination database before starting the restore process, select Kill any existing connections to the database. If you do not select this option, you will need to kill existing connections manually before restoring.

Transaction log tail

If you select a database that is not in an "unrecovered" or "standby" state but uses the Full or Bulk-Logged recovery model (full or filegroup backups only), when you click Next SQL Backup Pro prompts you to back up the tail of the transaction log. Backing up the tail of the transaction log ensures that you capture all the transaction log records that have not already been backed up before overwriting the database.

There is no requirement to back up the tail of the transaction log before restoring if you have selected an existing database that is:

This is equivalent to using WITH REPLACE in a T-SQL RESTORE statement. Refer to your SQL Server documentation for full details.

Filegroups and files

The data and log files (and any full text catalogs or filestream data) will be restored to the default SQL Server data and log directories unless you specify other locations:

Any files listed under Filegroups and files will be overwritten; other files that are not shown in the list but which previously belonged to the database, will be deleted.

Creating a new database

If you are restoring a full database backup, you can select Create new database to restore to a new database. Type a name for the database in the box.

Filegroups and files

The data and log files (and any full text catalogs or filestream data) will be restored to the default SQL Server data and log directories unless you specify other locations:

Next: restore options