dcloud rds encryption startEncrypt a database created before disk encryption: an encrypted copy streams beside it, then a switchover of seconds in its maintenance window (or now)
Single-node databases. Same address, credentials and backup stanza; plaintext backups move to a new encrypted repository with a full backup first. Writes pause only for the switchover (the old machine stops, the address moves, the encrypted machine is promoted). The old disk is kept holdDays, then zero-filled and deleted.
Synopsis
dcloud rds encryption start id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--scheduleOptionalenum
window: switch over in the maintenance window; now: as soon as the copy is ready
One of:
now,windowDefault:
"window"--delete-old-after-holdOptionalboolean (--delete-old-after-hold / --no-delete-old-after-hold)
Zero-fill and delete the old disk (and plaintext backups) when the hold ends; false keeps them until deleted by hand
Default:
true
Example
dcloud rds encryption start idGenerated from the API description, the same one the API checks requests against and the CLI is built from.