Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.
lightsail_create_relational_database_snapshot(relationalDatabaseName,
relationalDatabaseSnapshotName, tags)[required] The name of the database on which to base your new snapshot.
[required] The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
svc$create_relational_database_snapshot(
relationalDatabaseName = "string",
relationalDatabaseSnapshotName = "string",
tags = list(
list(
key = "string",
value = "string"
)
)
)
The create relational database snapshot operation supports tag-based
access control via request tags. For more information, see the
Lightsail Dev Guide.