IRPCServerAdmin.BackUp

View as Markdown

Administration API / specialized admin session

Starts a backup of a vault or of the master database as a server job and returns the job ID.

ServiceServer administration MFiles.IRPCServerAdmin
gRPC method/MFiles.IRPCServerAdmin/BackUp
HTTP (mf-http-grpc)POST /grpc/v1/back-up
RequestBackUpRequest
ResponseBackUpResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: BackUpRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
backupjobBackupJobWhat to back up and where. Set vault_guid to the vault, or to {00000000-0000-0000-0000-000000000000} for the master database. See BackupJob.
backupjob.vault_guidstringThe GUID of the vault, or GUID_NULL if defining a backup of the master database.
backupjob.typeBackupTypeBackup type (e.g. full or differential).Values: BACKUP_TYPE_FULL (0), BACKUP_TYPE_DIFFERENTIAL (1).
backupjob.target_filestringFull path to the target file on server.
backupjob.impersonationImpersonationImpersonation information for accessing the backup target file on server.
backupjob.impersonation.typeImpersonationTypeImpersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2).
backupjob.impersonation.accountstringAccount name (e.g. DOMAIN\user).
backupjob.impersonation.encrypted_passwordbytesEncrypted password.
backupjob.overwrite_existing_filesboolIf true, existing target files are overwritten. If false, backup fails if a target file already exists.
backupjob.file_size_limit_in_mbuint32Maximum size of one backup file in megabytes. If exceeded, backup will continue in a new sequentially numbered file. If zero, file size is unlimited and the backup will always consist of a single file only.

Response: BackUpResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
task_idint32The ID of the scheduled job that runs the backup.