Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

renamedb


Description

Rename database.

Request Json Syntax

 

Key Description
task task name
token token string encrypted.
dbname database name
rename new database name
exvolpath extend volume path
advanced on-off indicating whehter to offer local control files
forcedel on-off indicating whether to remove backup files

 

Request Sample

 

{
  "task":"renamedb",
  "token":"cdfb4c5717170c5edfc2912f2940ab35013dd1336cf7d77e4cfaae281cffa1417926f07dd201b6aa",
  "dbname":"destinationdb",
  "rename":"anotherdb",
  "exvolpath":"none",
  "advanced":"on",
  "volume":{"$CUBRID_DATABASES/destinationdb/destinationdb":"$CUBRID_DATABASES/anotherdb/anotherdb"},
  "forcedel":"y"
}

 

Response Json Syntax

Key Description
task task name
status execution result, success or failed.
note if failed, a brief description will be given here

Response Sample

 

{
   "__EXEC_TIME" : "353 ms",
   "note" : "none",
   "status" : "success",
   "task" : "renamedb"
}
comments powered by Disqus
Page info
viewed 482 times
translations en
Author
posted last year by
cheeray
Contributors
updated last year by
View revisions
Share this article