ByCloud Docs
GuidesCLIAPISDK

Restore backup

bycloud block-storage backups-restore --backup_id <backup_id> [flags]

Restore a backup to a new or existing volume

Options

--backup_id

stringrequired

Backup ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--name

stringoptional

Name for new volume (if not restoring to existing)

--volume_id

stringoptional

Existing volume to restore to (creates new volume if omitted)

Command

bycloud block-storage backups-restore \
--backup_id "abc-123"

Output

Success