backupDB#

swordfish.function.backupDB()#

Back up the specific database to the specified directory.

参数:
  • backupDir (Constant) -- A string indicating the directory to save the backup.

  • dbPath (Constant) -- A string indicating the database path.

  • keyPath (Constant, optional) -- A STRING scalar that specifies the path to the TDE key file used for backup encryption, by default DFLT