Skip to content

Create Restore Testing Plan

backup_create_restore_testing_plan R Documentation

This is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection

Description

This is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection.

You must include the parameter RestoreTestingPlan. You may optionally include CreatorRequestId and Tags.

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

Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.

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"
  )
)