dcloud deploy host-database restore

Replace the database with one of its backups

IAM deploy:RestoreHostDatabaseChanges stateAsks before it deletes (-y skips)

The current data is backed up first (reason before-restore, kept 7 days), so a restore can be undone.

Synopsis

dcloud deploy host-database restore id --backup-id backupId

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --backup-idRequired

    string

    The backup to restore: one of the app’s backups listed by get

Example

dcloud deploy host-database restore id --backup-id example

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