Create Db Snapshot
| rds_create_db_snapshot | R Documentation | 
Creates a snapshot of a DB instance¶
Description¶
Creates a snapshot of a DB instance. The source DB instance must be in
the available or storage-optimization state.
Usage¶
rds_create_db_snapshot(DBSnapshotIdentifier, DBInstanceIdentifier, Tags)
Arguments¶
| DBSnapshotIdentifier | [required] The identifier for the DB snapshot. Constraints: 
 Example:  | 
| DBInstanceIdentifier | [required] The identifier of the DB instance that you want to create the snapshot of. Constraints: 
 | 
| Tags | 
Value¶
A list with the following syntax:
list(
  DBSnapshot = list(
    DBSnapshotIdentifier = "string",
    DBInstanceIdentifier = "string",
    SnapshotCreateTime = as.POSIXct(
      "2015-01-01"
    ),
    Engine = "string",
    AllocatedStorage = 123,
    Status = "string",
    Port = 123,
    AvailabilityZone = "string",
    VpcId = "string",
    InstanceCreateTime = as.POSIXct(
      "2015-01-01"
    ),
    MasterUsername = "string",
    EngineVersion = "string",
    LicenseModel = "string",
    SnapshotType = "string",
    Iops = 123,
    OptionGroupName = "string",
    PercentProgress = 123,
    SourceRegion = "string",
    SourceDBSnapshotIdentifier = "string",
    StorageType = "string",
    TdeCredentialArn = "string",
    Encrypted = TRUE|FALSE,
    KmsKeyId = "string",
    DBSnapshotArn = "string",
    Timezone = "string",
    IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
    ProcessorFeatures = list(
      list(
        Name = "string",
        Value = "string"
      )
    ),
    DbiResourceId = "string",
    TagList = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    OriginalSnapshotCreateTime = as.POSIXct(
      "2015-01-01"
    ),
    SnapshotDatabaseTime = as.POSIXct(
      "2015-01-01"
    ),
    SnapshotTarget = "string",
    StorageThroughput = 123,
    DBSystemId = "string",
    DedicatedLogVolume = TRUE|FALSE,
    MultiTenant = TRUE|FALSE
  )
)
Request syntax¶
svc$create_db_snapshot(
  DBSnapshotIdentifier = "string",
  DBInstanceIdentifier = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)
Examples¶
## Not run: 
# This example creates a DB snapshot.
svc$create_db_snapshot(
  DBInstanceIdentifier = "mymysqlinstance",
  DBSnapshotIdentifier = "mydbsnapshot"
)
## End(Not run)