Dela via


General (Restore Database Dialog Box) (Analysis Services - Multidimensional Data)

Use the General page of the Restore Database dialog box in SQL Server Management Studio to specify the backup file and general settings to use when restoring an Analysis Services database.

Security noteSecurity Note

For each backup file, the user who runs the restore command must have permission to read from the backup location specified for each file. To restore an Analysis Services database that is not installed on the server, the user must also be a member of the server role for that Analysis Services instance. To overwrite an Analysis Services database, the user must have one of the following roles: a member of the server role for the Analysis Services instance, or a member of a database role with Full Control (Administrator) permissions on the database to be restored.

Note

After restoring an existing database, the user who restored the database might lose access to the restored database. This loss of access can occur if, at the time that the backup was performed, the user was not a member of the server role or was not a member of the database role with Full Control (Administrator) permissions.

To display the General page in the Restore Database dialog box

  • In SQL Server Management Studio, right-click either the Databases folder of an Analysis Services instance or a database in Object Explorer, click Restore, and then under Select a page, click General.

Options

  • Script
    Creates a restore script that is based on the options selected in the dialog box. The restore script is written in the Analysis Services Scripting Language (ASSL).

    Clicking the Script icon sends the restore script into a new query window, by default.

    Clicking the Script arrow displays a menu that allows you to choose where to send the restore script:

    • To a new query window (default).

    • To a file.

    • To the clipboard.

    • To a job.

  • Restore database
    Select the Analysis Services database to restore.

  • From backup file
    Select the backup file from which to restore the selected Analysis Services database.

  • Browse
    Click to display the Locate Database Files dialog box and select the path and file name of the backup file to use. For more information about the Locate Database Files dialog box, see Locate Database Files Dialog Box (Analysis Services - Multidimensional Data).

  • Allow database overwrite
    Select to allow Analysis Services to restore the contents of the selected backup file over any existing objects in the selected Analysis Services database.

  • Include security information
    Select to copy any security information stored in the backup file to the Analysis Services database.

    If this option is selected, you can choose the amount of security information from the drop-down list enabled by selecting this option. The following options are available:

    Option

    Description

    Copy All

    Restores the database roles contained in the backup file, as well as the user accounts associated with the roles.

    Skip Membership

    Restores the database roles contained in the backup file, but does not restore the user accounts associated with the roles.

  • Password
    If the backup file is encrypted, type the password used to encrypt the backup file.