View source: R/lightsail_operations.R
lightsail_copy_snapshot | R Documentation |
Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one Amazon Web Services Region to another in Amazon Lightsail.
See https://www.paws-r-sdk.com/docs/lightsail_copy_snapshot/ for full documentation.
lightsail_copy_snapshot(
sourceSnapshotName = NULL,
sourceResourceName = NULL,
restoreDate = NULL,
useLatestRestorableAutoSnapshot = NULL,
targetSnapshotName,
sourceRegion
)
sourceSnapshotName |
The name of the source manual snapshot to copy. Constraint:
|
sourceResourceName |
The name of the source instance or disk from which the source automatic snapshot was created. Constraint:
|
restoreDate |
The date of the source automatic snapshot to copy. Use the
Constraints:
|
useLatestRestorableAutoSnapshot |
A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk. Constraints:
|
targetSnapshotName |
[required] The name of the new manual snapshot to be created as a copy. |
sourceRegion |
[required] The Amazon Web Services Region where the source manual or automatic snapshot is located. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.