Interface SwaggerSqlRecoveryResource
@Path("/vdcs")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface SwaggerSqlRecoveryResource
-
Method Summary
Modifier and TypeMethodDescriptioncom.iland.core.web.rest.response.task.TaskResponsecreateSqlRestoreAsNewDatabaseOriginalInstanceTask(com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlRestoreAsNewDatabaseOriginalInstanceTaskParams params) Create a new SQL recovery task that will create a new database on the original server instance.com.iland.core.web.rest.response.task.TaskResponsecreateSqlRestoreAsNewDatabaseTask(com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlRestoreAsNewDatabaseNewInstanceTaskParams params) Create a new SQL recovery task that will create a new database on a different server instance from the original.com.iland.core.web.rest.response.task.TaskResponsecreateSqlRestoreOverwriteOriginalTask(com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlOverwriteOriginalTaskParams params) Create a new SQL recovery task that will overwrite the original database.com.iland.cohesity.iaas.backups.common.model.RecoverableSqlSearchInformationsearchRecoverableSqlSnapshots(com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SearchRecoverableSqlSnapshotsFilters filters) Searches for recoverable SQL snapshots within the vDC.
-
Method Details
-
searchRecoverableSqlSnapshots
@POST @Path("/{vdcUuid}/recoverable-sql-snapshots") com.iland.cohesity.iaas.backups.common.model.RecoverableSqlSearchInformation searchRecoverableSqlSnapshots(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SearchRecoverableSqlSnapshotsFilters filters) Searches for recoverable SQL snapshots within the vDC.- Parameters:
vdcUuid- the UUID of the vDCfilters- optional query filters- Returns:
- a list of recoverable VM snapshots
-
createSqlRestoreOverwriteOriginalTask
@POST @Path("/{vdcUuid}/actions/restore-sql-snapshot-overwrite-original") com.iland.core.web.rest.response.task.TaskResponse createSqlRestoreOverwriteOriginalTask(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlOverwriteOriginalTaskParams params) Create a new SQL recovery task that will overwrite the original database.- Parameters:
vdcUuid- the UUID of the vDCparams- restoration parameters- Returns:
- the restore task, used to track the asynchronous operation
-
createSqlRestoreAsNewDatabaseTask
@POST @Path("/{vdcUuid}/actions/restore-sql-snapshot-as-new-database") com.iland.core.web.rest.response.task.TaskResponse createSqlRestoreAsNewDatabaseTask(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlRestoreAsNewDatabaseNewInstanceTaskParams params) Create a new SQL recovery task that will create a new database on a different server instance from the original.- Parameters:
vdcUuid- the UUID of the vDCparams- restoration parameters- Returns:
- the restore task, used to track the asynchronous operation
-
createSqlRestoreAsNewDatabaseOriginalInstanceTask
@POST @Path("/{vdcUuid}/actions/restore-sql-snapshot-as-new-database-original-instance") com.iland.core.web.rest.response.task.TaskResponse createSqlRestoreAsNewDatabaseOriginalInstanceTask(@PathParam("vdcUuid") com.iland.cohesity.iaas.backups.common.model.BaseVdcUuid vdcUuid, com.iland.cohesity.iaas.backups.recovery.model.SqlRestoreAsNewDatabaseOriginalInstanceTaskParams params) Create a new SQL recovery task that will create a new database on the original server instance. This endpoint requires that the database is renamed.- Parameters:
vdcUuid- the UUID of the vDCparams- restoration parameters- Returns:
- the restore task, used to track the asynchronous operation
-