Sybase Restore Options
Select
This operation is used to perform Sybase Restores
- application/json
Request Body
taskInfo object
task object
taskType string requiredDefault value:
IMMEDIATE
Possible values: [IMMEDIATE, SCHEDULE, SCHEDULE_POLICY, SAVED_REPORT]
initiatedFrom string requiredDefault value:
GUI
associations object[]
clientId integerID of the Client
instanceName string requiredName of the Instance
appName string requiredDefault value:
Sybase
Name of the application
applicationId integer requiredDefault value:
5 for Sybase
clientName string requiredName of the Client
instanceId integerID of the Instance
subTasks object[]
subTask object
subTaskType string requiredDefault value:
RESTORE
operationType string requiredDefault value:
RESTORE
options object
restoreOptions object
browseOption object
commCellId integer requiredDefault value:
2
timeRange object
toTime integer requiredTime range in Unix Timestamp
destination object required
destClient object required
clientId integerDestinatoin Client ID
clientName string requiredDestination Client Name
destinationInstance object
instanceId integerDestination Instance ID
instanceName string requiredDestination Instance Name
applicationId integer requiredDefault value:
5
appName string requiredDefault value:
Sybase
clientId integerclientName string requiredsybaseRstOption object
sybaseRecoverType string requiredDefault value:
STATE_RECOVER
pointofTime boolean requiredDefault value:
true
fromTime object
time integer requiredrefTime object
time integer requiredTime to which you want to restore
destinationServer object
id integerInstance ID of destination
name stringInstance name of destination
pointInTime object
time integer requiredTime to which you want to restore
instanceRestore boolean requiredsybaseDatabase object[]
databaseId object
id integer requiredID of the databases to be restored
name string requiredName of the database to be restored
creationTimeInt object
time integerCreation Time of database in linux timestamp
associatedSubClientId integerSubclient ID for the databases to be restored
devices string[] requiredsubclientId:databaseId:DeviceId:olddeviceName:newDeviceName:physicalDeviceName:deviceSize:targetDbName
systemDataBase boolean requiredTrue if database to be restored is system database
renameDatabases booleanTrue if you want to rename databases
restoreOptions booleanrestoreType stringisTableLevel boolean requiredfileOption object
sourceItem string[]For Instance Restore it is the list of databases to be Restored, For Restore to disk operation it is of the format commcellID:JobID
commonOptions object
sybaseCreateDevices boolean requiredrestoreToDisk boolean requiredcommonOpts object
notifyUserOnJobCompletion boolean required
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 2250,
"jobIds": [
"37058"
]
}