IRPCServerAdmin.RestoreMasterDB

View as Markdown

Administration API / specialized admin session

Replaces the server's master database with a master database backup file on the server.

ServiceServer administration MFiles.IRPCServerAdmin
gRPC method/MFiles.IRPCServerAdmin/RestoreMasterDB
HTTP (mf-http-grpc)POST /grpc/v1/restore-master-db
RequestRestoreMasterDBRequest
ResponseRestoreMasterDBResponse
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: RestoreMasterDBRequest

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

FieldTypeDescription
source_filestringFull path of the master database backup file on the server computer.
utf8szimpersonationImpersonationThe account used to read the backup file. See Impersonation.
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: RestoreMasterDBResponse

No fields.