Skip to content

Create Restore Testing Plan

backup_create_restore_testing_plan R Documentation

Creates a restore testing plan

Description

Creates a restore testing plan.

The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.

Usage

backup_create_restore_testing_plan(CreatorRequestId, RestoreTestingPlan,
  Tags)

Arguments

CreatorRequestId

This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

RestoreTestingPlan

[required] A restore testing plan must contain a unique RestoreTestingPlanName string you create and must contain a ScheduleExpression cron. You may optionally include a StartWindowHours integer and a CreatorRequestId string.

The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.

Tags

The tags to assign to the restore testing plan.

Value

A list with the following syntax:

list(
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  RestoreTestingPlanArn = "string",
  RestoreTestingPlanName = "string"
)

Request syntax

svc$create_restore_testing_plan(
  CreatorRequestId = "string",
  RestoreTestingPlan = list(
    RecoveryPointSelection = list(
      Algorithm = "LATEST_WITHIN_WINDOW"|"RANDOM_WITHIN_WINDOW",
      ExcludeVaults = list(
        "string"
      ),
      IncludeVaults = list(
        "string"
      ),
      RecoveryPointTypes = list(
        "CONTINUOUS"|"SNAPSHOT"
      ),
      SelectionWindowDays = 123
    ),
    RestoreTestingPlanName = "string",
    ScheduleExpression = "string",
    ScheduleExpressionTimezone = "string",
    StartWindowHours = 123
  ),
  Tags = list(
    "string"
  )
)