Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1004 Bytes

restoredb.md

File metadata and controls

31 lines (26 loc) · 1004 Bytes

restoredb

The restoredb interface will restore database from backup.

Request Json Syntax

Key Description
task task name
token token string encrypted.
dbname a name of the database
date restore the database up to its condition at given DATE, DATE is given as follows: dd-mm-yyyy:hh:mm:ss. none is backup time.
level LEVEL of backup to be restored
partial perform partial recovery if any log archive is absent
pathname PATH is a directory of backup volumes to be restored
recoverypath restore the database and log volumes to the path specified in the database location file

Request Sample

{
  "task": "restoredb",
  "token": "cdfb4c5717170c5e237a227a2ceeccc6ae9e10c16754fb85371c0d74fa0d9d577926f07dd201b6aa",
  "dbname": "alatestdb",
  "date": "none",
  "level": "0",
  "partial": "y",
  "pathname": "$CUBRID_DATABASES/alatestdb/backup/alatestdb_backup_lv0",
  "recoverypath": "$CUBRID_DATABASES/alatestdb"
}