Επεξεργασία

Κοινή χρήση μέσω


Restore Options

Applies to: SQL Server Analysis Services Azure Analysis Services Fabric/Power BI Premium

There are many ways to restore your Microsoft SQL Server SQL Server Analysis Services databases, all of which require that you have administrator permissions for both the server computer and the SQL Server Analysis Services database. To restore an SQL Server Analysis Services database, you can open the Restore Database dialog box in SQL Server Management Studio, select the appropriate options configuration and then run the restore from the dialog box. Or, you can create a script using the settings already specified in the file; the script can then be saved and run as often as needed. In this way, the restore is completed by using XMLA, as described in the next section.

Restoring Databases Using XMLA

The XMLA Restore command is a way to automate the restore process by running a restore based on an .abf file. The Restore command has a number of properties that can be set to specify security definitions, where remote partitions should be stored, and the relocation of relational OLAP (ROLAP) objects. For more information, see Restore Element (XMLA).

Important

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 SQL Server Analysis Services database that is not installed on the server, the user must also be a member of the server role for that SQL Server Analysis Services instance. To overwrite an SQL Server Analysis Services database, the user must have one of the following roles: a member of the server role for the SQL Server 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.

See Also

Restore Database Dialog Box (Analysis Services - Multidimensional Data)
Backup and Restore of Analysis Services Databases
Restore Element (XMLA)
Backing Up, Restoring, and Synchronizing Databases (XMLA)