Backing Up and Restoring How-to Topics (Transact-SQL)
The backup and restore component of Microsoft SQL Server 2005 provides an essential safeguard to help protect critical data stored in SQL Server databases. The topics in this section explain how to use Transact-SQL to create and restore databases, differential databases, transaction logs, and file and filegroup backups.
Note
SQL Server lets you to perform most tasks by using either SQL Server Management Studio or Transact-SQL statements. For information about how to use SQL Server Management Studio to back up and restore, see Backing Up and Restoring How-to Topics (SQL Server Management Studio). For partial or copy-only backups use the Transact-SQL BACKUP statement with the PARTIAL or COPY_ONLY option. For more information, see BACKUP (Transact-SQL).
In This Section
Backup How-to Topics
- How to: Create a Full Database Backup (Transact-SQL)
- How to: Back Up Files and Filegroups (Transact-SQL)
- How to: Create a Differential Database Backup (Transact-SQL)
- How to: Create a Transaction Log Backup (Transact-SQL)
- How to: Back Up the Transaction Log When the Database Is Damaged (Transact-SQL)
- How to: Enable or Disable Backup Checksums (Transact-SQL)
- How to: Specify Whether BACKUP Continue or Stops on Encountering an Error
Restore How-to Topics
- How to: Restore a Database Backup (Transact-SQL)
- How to: Restore a Database to a New Location and Name (Transact-SQL)
- How to: Restore a Differential Database Backup (Transact-SQL)
- How to: Restore Files and Filegroups (Transact-SQL)
- How to: Restore Files and Filegroups over Existing Files (Transact-SQL)
- How to: Restore Files to a New Location (Transact-SQL)
- How to: Apply a Transaction Log Backup (Transact-SQL)
- How to: Restore the master Database (Transact-SQL)
- How to: Restore to a Point in Time (Transact-SQL)
- How to: Restore to the Point of Failure (Transact-SQL)
- How to: Recover a Database from a Backup Without Restoring Data (Transact-SQL)
- How to: Restart an Interrupted Restore Operation (Transact-SQL)
- How to: Set Up, Maintain, and Bring Online a Warm Standby Server (Transact-SQL)
See Also
Other Resources
Backing Up and Restoring Databases in SQL Server
BACKUP (Transact-SQL)
RESTORE (Transact-SQL)
Backing Up and Restoring How-to Topics (SQL Server Management Studio)