View source: R/opsworkscm_operations.R
opsworkscm_restore_server | R Documentation |
Restores a backup to a server that is in a CONNECTION_LOST
, HEALTHY
, RUNNING
, UNHEALTHY
, or TERMINATED
state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of the server's client devices (nodes) should continue to work.
See https://www.paws-r-sdk.com/docs/opsworkscm_restore_server/ for full documentation.
opsworkscm_restore_server(
BackupId,
ServerName,
InstanceType = NULL,
KeyPair = NULL
)
BackupId |
[required] The ID of the backup that you want to use to restore a server. |
ServerName |
[required] The name of the server that you want to restore. |
InstanceType |
The type of instance to restore. Valid values must be specified in the
following format: |
KeyPair |
The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.