dcloud rds backups restore

Restore to latest, to a timestamp, or to a labelled backup

IAM rds:RestoreDBInstanceChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud rds backups restore id --recovery-target recoveryTarget [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --recovery-targetRequired

    enum

    Selects which of the other fields apply

    One of: latest, time, label

  • --target-identifierOptional

    string

    Name of the new database the restore creates; a restore never overwrites its source

    Constraints: 1-63 chars

  • --instance-classOptional

    string

    Instance type of the new database, e.g. performance-2 (provider names deprecated); omitted: the source's

    Constraints: min 1 chars

  • --topologyOptional

    enum

    single (the default) or cluster: three nodes, the class needs 8 GiB of memory or more

    One of: single, cluster

  • --kms-key-idOptional

    string

    KMS key for the new database's disks; null: the platform key; omitted: the source's

    Constraints: uuid

    May be null.

  • --publicly-accessibleOptional

    boolean (--publicly-accessible / --no-publicly-accessible)

    Whether the new database answers on the internet; omitted: the source's choice

  • --tagsOptional

    map of string

    Tags for the new resource, e.g. {"env": "prod", "project": "shop"}. Keys your organization marks required must be present, or the create is refused with the missing keys (GET /tags/api/keys lists them).

    Constraints: key=value

  • --recovery-target-timeOptional

    string

    ISO time to restore to; must lie inside the recoverable window of backups list

    Constraints: datetime

  • --recovery-target-labelOptional

    string

    Label of the backup to restore, as backups list shows it (e.g. 20260826-030000F)

    Constraints: 1-128 chars, /^[A-Za-z0-9_-]+$/

Example

dcloud rds backups restore id --recovery-target latest

Generated from the API description, the same one the API checks requests against and the CLI is built from.