Jaa


Database.Backup Method

Definition

Overloads

Backup(BackupInfo)

Provides programmatic access to Backup operations for a Database with BackupInfo information.

Backup(String)

Provides programmatic access to Backup operations for a Database with the specified file.

Backup(String, Boolean)

Provides programmatic access to Backup operations for a Database with the specified file and AllowOverWrite indication.

Backup(String, Boolean, Boolean)

Provides programmatic access to Backup operations for a Database with the specified file, AllowOverWrite indication, and BackupRemotePartitions indication.

Backup(String, Boolean, Boolean, BackupLocation[])

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, and locations information.

Backup(String, Boolean, Boolean, BackupLocation[], Boolean)

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, locations information, and ApplyCompression indication.

Backup(String, Boolean, Boolean, BackupLocation[], Boolean, String)

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, locations information, ApplyCompression indication, and password.

Backup(BackupInfo)

Provides programmatic access to Backup operations for a Database with BackupInfo information.

public void Backup (Microsoft.AnalysisServices.BackupInfo backupInfo);
member this.Backup : Microsoft.AnalysisServices.BackupInfo -> unit
Public Sub Backup (backupInfo As BackupInfo)

Parameters

backupInfo
BackupInfo

Contains parameters to be applied during backup of a Database.

Applies to

Backup(String)

Provides programmatic access to Backup operations for a Database with the specified file.

public void Backup (string file);
member this.Backup : string -> unit
Public Sub Backup (file As String)

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

Applies to

Backup(String, Boolean)

Provides programmatic access to Backup operations for a Database with the specified file and AllowOverWrite indication.

public void Backup (string file, bool allowOverwrite);
member this.Backup : string * bool -> unit
Public Sub Backup (file As String, allowOverwrite As Boolean)

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

allowOverwrite
Boolean

True if overwrite is allowed; otherwise, false.

Applies to

Backup(String, Boolean, Boolean)

Provides programmatic access to Backup operations for a Database with the specified file, AllowOverWrite indication, and BackupRemotePartitions indication.

public void Backup (string file, bool allowOverwrite, bool backupRemotePartitions);
member this.Backup : string * bool * bool -> unit
Public Sub Backup (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean)

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

allowOverwrite
Boolean

True if overwrite is allowed; otherwise, false.

backupRemotePartitions
Boolean

true if remote partitions are subject to backup; otherwise, false.

Applies to

Backup(String, Boolean, Boolean, BackupLocation[])

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, and locations information.

public void Backup (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations);
member this.Backup : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] -> unit
Public Sub Backup (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation())

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

allowOverwrite
Boolean

True if overwrite is allowed; otherwise, false.

backupRemotePartitions
Boolean

true if remote partitions are subject to backup; otherwise, false.

locations
BackupLocation[]

If locations is specified, then remote partitions are backed up on their servers using the file name defined in this parameter.

Applies to

Backup(String, Boolean, Boolean, BackupLocation[], Boolean)

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, locations information, and ApplyCompression indication.

public void Backup (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations, bool applyCompression);
member this.Backup : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] * bool -> unit
Public Sub Backup (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation(), applyCompression As Boolean)

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

allowOverwrite
Boolean

True if overwrite is allowed; otherwise, false.

backupRemotePartitions
Boolean

true if remote partitions are subject to backup; otherwise, false.

locations
BackupLocation[]

If locations is specified, then remote partitions are backed up on their servers using the file name defined in this parameter.

applyCompression
Boolean

true if compression is to be used; otherwise, false.

Applies to

Backup(String, Boolean, Boolean, BackupLocation[], Boolean, String)

Provides programmatic access to backup operations for a Database with the specified file, AllowOverWrite indication, BackupRemotePartitions indication, locations information, ApplyCompression indication, and password.

public void Backup (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations, bool applyCompression, string password);
member this.Backup : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] * bool * string -> unit
Public Sub Backup (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation(), applyCompression As Boolean, password As String)

Parameters

file
String

A file containing the parameters to be applied during backup of a Database.

allowOverwrite
Boolean

True if overwrite is allowed; otherwise, false.

backupRemotePartitions
Boolean

true if remote partitions are subject to backup; otherwise, false.

locations
BackupLocation[]

If locations is specified, then remote partitions are backed up on their servers using the file name defined in this parameter.

applyCompression
Boolean

true if compression is to be used; otherwise, false.

password
String

The password to apply to the backup.

Applies to