Back Up Database (General Page)

Use the General page of the Back Up Database dialog box to view or modify settings for a database back up operation.

For more information about basic backup concepts, see Backup Overview (SQL Server).

Note

When you specify a backup task by using SQL Server Management Studio, you can generate the corresponding Transact-SQL BACKUP script by clicking the Script button and then selecting a destination for the script.

To use SQL Server Management Studio to create a backup

To create a partial backup

  • For a partial backup, you must use the Transact-SQL BACKUP statement with the PARTIAL option.

Options

Source

The options of the Source panel identify the database and specify the backup type and component for the back up operation.

  • Database
    Select the database to back up.

  • Recovery model
    View the recovery model (SIMPLE, FULL, or BULK_LOGGED) displayed for the selected database.

  • Backup type
    Select the type of backup you want to perform on the specified database.

    Backup type

    Available for

    Restrictions

    Full

    Databases, files, and filegroups

    On the master database, only full backups are possible.

    Under the Simple Recovery Model, file and filegroup backups are available only for read-only filegroups.

    Differential

    Databases, files, and filegroups

    Under the Simple Recovery Model, file and filegroup backups are available only for read-only filegroups.

    Transaction Log

    Transaction logs

    Transaction log backups are not available for the Simple Recovery Model.

  • Copy Only Backup
    Select to create a copy-only backup. A copy-only backup is a SQL Server backup that is independent of the sequence of conventional SQL Server backups. For more information, see Copy-Only Backups.

    Note

    When the Differential option is selected, you cannot create a copy-only backup.

  • Backup component
    Select the database component to be backed up. If Transaction Log is selected in the Backup type list, this option is not activated.

    Select one of the following option buttons:

    Database

    Specifies that the entire database be backed up.

    Files and filegroups

    Specifies that the specified files and/or filegroups be backed up.

    Selecting this option, opens the Select Files and Filegroups dialog box. After you select the filegroups or files you want to back up and click Ok, your selections appear in the Filegroups and files box.

Backup set

The options of the Backup set panel allow for you to specify optional information about the backup set created by the back up operation.

  • Name
    Specify the backup set name. The system automatically suggests a default name based on the database name and the backup type.

    For information about backup sets, see Media Sets, Media Families, and Backup Sets.

  • Description
    Enter a description of the backup set.

  • Backup set will expire
    Choose one of the following expiration options.

    After

    Specify the number of days that must elapse before this backup set expires and can be overwritten. This value can be from 0 to 99999 days; a value of 0 days means that the backup set will never expire.

    The default value for backup expiration is the value set in the Default backup media retention (in days) option. To access this, right-click the server name in Object Explorer and select Properties; then click the Database Settings page of the Server Properties dialog box.

    On

    Specify a specific date when the backup set expires and can be overwritten.

Destination

The options of the Destination panel allow for you to specify the type of backup device for the back up operation and find an existing logical or physical backup device.

Note

For information about SQL Server backup devices, see Backup Devices.

  • Back up to
    Select one of the following types of media to which to back up. The destinations you select appear in the Back up to list.

    Disk

    Backs up to disk. This may be a system file or a disk-based logical backup device created for the database. The currently selected disks appear in the Back up to list. You can select up to 64 disk devices for your backup operation.

    Tape

    Backs up to tape. This may be a local tape drive or a tape-based logical backup device created for the database. The currently selected tapes appear in the Back up to list. The maximum number is 64. If there are no tape devices attached to the server, this option is deactivated. The tapes you select are listed in the Back up to list.

    NoteNote
    Support for tape backup devices will be removed in a future version of SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
  • Add
    Adds a file or device to the Back up to list. You can back up to 64 devices simultaneously on a local disk or remote disk. To specify a file on a remote disk, use the fully qualified universal naming convention (UNC) name. For more information, see Backup Devices.

  • Remove
    Removes one or more currently selected devices from the Back up to list.

  • Contents
    Displays the media contents for the selected device.