database/backup-database

Description

  • Backup the database using either the database handle or the database name.

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
dbNameNostringName of the database, with lower priority than dbHandle
dbHandleNointDatabase handle, with higher priority than dbName
outPathYesstringBackup storage path (including file name)

Request Example

 {
  "type": 10059,
  "dbName": "MicroMsg.db",
  "outPath": "C:\\MicroMsg.bak.db"
 } 

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
      "data": []
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark