This documentation is archived and is not being maintained.

Restore Element (XMLA)

Restores a Microsoft SQL Server 2005 Analysis Services (SSAS) database from a backup file.


Characteristic Description

Data type and length


Default value



0-n: Optional element that can occur more than once.

Relationship Element

Parent elements


Child elements

AllowOverwrite, DatabaseName, File, Locations, Password, Security

The Restore command restores an Analysis Services database specified in the DatabaseName element from a backup file and optionally restores remote partitions from remote backup files.

Depending on the storage mode used by objects stored in the backup file, the Restore command restores information as listed in the following table.

Storage mode Information

Multidimensional OLAP (MOLAP)

Source data, aggregations, and metadata


Aggregations and metadata

Relational OLAP (ROLAP)


During a Restore command, an exclusive lock is placed on the Analysis Services database specified in the DatabaseName element and released after the Restore command has completed.

For more information about backing up and restoring databases, see Backing Up, Restoring, and Synchronizing Databases (XMLA).