opsworkscm_create_backup: Creates an application-level backup of a server

Description Usage Arguments Value Request syntax

View source: R/opsworkscm_operations.R

Description

Creates an application-level backup of a server. While the server is in the BACKING_UP state, the server cannot be changed, and no additional backup can be created.

Backups can be created for servers in RUNNING, HEALTHY, and UNHEALTHY states. By default, you can create a maximum of 50 manual backups.

This operation is asynchronous.

A LimitExceededException is thrown when the maximum number of manual backups is reached. An InvalidStateException is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid.

Usage

1
opsworkscm_create_backup(ServerName, Description, Tags)

Arguments

ServerName

[required] The name of the server that you want to back up.

Description

A user-defined description of the backup.

Tags

A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.

  • The key cannot be empty.

  • The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

  • The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

  • Leading and trailing white spaces are trimmed from both the key and value.

  • A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
list(
  Backup = list(
    BackupArn = "string",
    BackupId = "string",
    BackupType = "AUTOMATED"|"MANUAL",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    Description = "string",
    Engine = "string",
    EngineModel = "string",
    EngineVersion = "string",
    InstanceProfileArn = "string",
    InstanceType = "string",
    KeyPair = "string",
    PreferredBackupWindow = "string",
    PreferredMaintenanceWindow = "string",
    S3DataSize = 123,
    S3DataUrl = "string",
    S3LogUrl = "string",
    SecurityGroupIds = list(
      "string"
    ),
    ServerName = "string",
    ServiceRoleArn = "string",
    Status = "IN_PROGRESS"|"OK"|"FAILED"|"DELETING",
    StatusDescription = "string",
    SubnetIds = list(
      "string"
    ),
    ToolsVersion = "string",
    UserArn = "string"
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
svc$create_backup(
  ServerName = "string",
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.