IRPCVaultsAdmin.GetBackupFileContents

View as Markdown

Administration API / specialized admin session idempotent

Reads the vault identity and data folders stored in a backup file on the server.

ServiceVault management MFiles.IRPCVaultsAdmin
gRPC method/MFiles.IRPCVaultsAdmin/GetBackupFileContents
HTTP (mf-http-grpc)POST /grpc/v1/get-backup-file-contents
RequestGetBackupFileContentsRequest
ResponseGetBackupFileContentsResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: GetBackupFileContentsRequest

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

FieldTypeDescription
backup_file_fullstringThe full backup file, as a path on the server machine.
backup_file_differentialstringAn optional differential backup file to apply on top of the full backup, as a path on the server machine. Leave empty if none.
utf8szimpersonationImpersonationThe account the server uses to read the backup files. Unset means IMPERSONATION_TYPE_SYSTEM_ACCOUNT.
utf8szimpersonation.typeImpersonationTypeImpersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2).
utf8szimpersonation.accountstringAccount name (e.g. DOMAIN\user).
utf8szimpersonation.encrypted_passwordbytesEncrypted password.

Response: GetBackupFileContentsResponse

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

FieldTypeDescription
master_dbboolTrue if the file is a backup of the master database, not of a vault.
display_namestringReceives the display name of the vault.
vaultstringReceives the unique ID of the vault.
data_folderstringReceives the data folder of the vault.
file_data_folders[]repeated AdditionalFolderReceives the additional file data folders.
file_data_folders[].pathstringPath (e.g. "\servername\sharename\folder").
file_data_folders[].limit_in_mbuint32Data limit in megabytes or zero if no limit.
file_data_folders[].impersonationImpersonationImpersonation information for accessing the folder.
file_data_folders[].impersonation.typeImpersonationTypeImpersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2).
file_data_folders[].impersonation.accountstringAccount name (e.g. DOMAIN\user).
file_data_folders[].impersonation.encrypted_passwordbytesEncrypted password.