Backup Element (XMLA)

Backs up a Microsoft SQL Server 2005 Analysis Services (SSAS) database to a backup file.



Element Characteristics

Characteristic Description

Data type and length


Default value



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

Element Relationships

Relationship Element

Parent elements


Child elements

AllowOverwrite, ApplyCompression, BackupRemotePartitions, File, Locations, Object, Password, Security


The Backup command backs up the Analysis Services database specified in the Object element to a backup file, and optionally backs up remote partitions to remote backup files. If the Object element refers to an object other than an Analysis Services database, an error occurs.

Which information the Backup command backs up depends on the storage mode used by objects in the database. The following table identifies the information that is backed up based upon the storage mode used.

Storage mode Information that is backed up

Multidimensional OLAP (MOLAP)

Source data, aggregations, and metadata


Aggregations and metadata

Relational OLAP (ROLAP)


During a Backup command, a shared lock is placed on the Analysis Services database specified in the Object element. The shared lock releases after the Backup command has completed.

Multiple Backup commands can be run in parallel, if the commands are included in the Parallel collection of a Batch command. The Parallel collection enables a database to be backed up into multiple backup files at the same time.

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

See Also


Restore Element (XMLA)
Synchronize Element (XMLA)


Commands (XMLA)

Help and Information

Getting SQL Server 2005 Assistance