M-Files API 23.11.13135.0
BackupMasterDB Method
ServerManagementOperations Object : BackupMasterDB Method
Full path of the backup file on the server.
If this parameter is True, existing backup files is overwritten. If this parameter is False, the operation fails if a backup file already exists.
Maximum size  of one backup file in megabytes. If exceeded, backup will continue with a new sequentially numbered file. If this parameter is 0, file size is unlimited and the backup will always consist of a single file only.

Account information for accesing the backup files on the server.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Description
Creates a backup of the master database.
Syntax
Visual Basic
Public Sub BackupMasterDB( _
   ByVal BackupFile As String, _
   ByVal OverwriteExistingFiles As Boolean, _
   Optional ByVal FileSizeLimitInMB As Long = 0, _
   Optional ByVal Impersonation As Impersonation = 0 _
) 
Parameters
BackupFile
Full path of the backup file on the server.
OverwriteExistingFiles
If this parameter is True, existing backup files is overwritten. If this parameter is False, the operation fails if a backup file already exists.
FileSizeLimitInMB
Maximum size  of one backup file in megabytes. If exceeded, backup will continue with a new sequentially numbered file. If this parameter is 0, file size is unlimited and the backup will always consist of a single file only.
Impersonation

Account information for accesing the backup files on the server.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

See Also

ServerManagementOperations Object  | ServerManagementOperations Members