Skip to content

Start Recovery

drs_start_recovery R Documentation

Launches Recovery Instances for the specified Source Servers

Description

Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.

Usage

drs_start_recovery(sourceServers, isDrill, tags)

Arguments

sourceServers

[required] The Source Servers that we want to start a Recovery Job for.

isDrill

Whether this Source Server Recovery operation is a drill or not.

tags

The tags to be associated with the Recovery Job.

Value

A list with the following syntax:

list(
  job = list(
    jobID = "string",
    arn = "string",
    type = "LAUNCH"|"TERMINATE"|"CREATE_CONVERTED_SNAPSHOT",
    initiatedBy = "START_RECOVERY"|"START_DRILL"|"FAILBACK"|"DIAGNOSTIC"|"TERMINATE_RECOVERY_INSTANCES"|"TARGET_ACCOUNT"|"CREATE_NETWORK_RECOVERY"|"UPDATE_NETWORK_RECOVERY"|"ASSOCIATE_NETWORK_RECOVERY",
    creationDateTime = "string",
    endDateTime = "string",
    status = "PENDING"|"STARTED"|"COMPLETED",
    participatingServers = list(
      list(
        sourceServerID = "string",
        recoveryInstanceID = "string",
        launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED",
        launchActionsStatus = list(
          ssmAgentDiscoveryDatetime = "string",
          runs = list(
            list(
              action = list(
                actionId = "string",
                actionCode = "string",
                type = "SSM_AUTOMATION"|"SSM_COMMAND",
                name = "string",
                active = TRUE|FALSE,
                order = 123,
                actionVersion = "string",
                optional = TRUE|FALSE,
                parameters = list(
                  list(
                    value = "string",
                    type = "SSM_STORE"|"DYNAMIC"
                  )
                ),
                description = "string",
                category = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER"
              ),
              runId = "string",
              status = "IN_PROGRESS"|"SUCCEEDED"|"FAILED",
              failureReason = "string"
            )
          )
        )
      )
    ),
    tags = list(
      "string"
    ),
    participatingResources = list(
      list(
        participatingResourceID = list(
          sourceNetworkID = "string"
        ),
        launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED"
      )
    )
  )
)

Request syntax

svc$start_recovery(
  sourceServers = list(
    list(
      sourceServerID = "string",
      recoverySnapshotID = "string"
    )
  ),
  isDrill = TRUE|FALSE,
  tags = list(
    "string"
  )
)