To start replication from the primary disk 'example-disk-1' in zone us-east1-a to the secondary disk 'example-disk-2' in zone us-west1-a, run:
gdcloud compute disks start-async-replication example-disk-1 \
--project example-project \
--zone us-east1-a \
--secondary-disk example-disk-2 \
--secondary-zone us-west1-a
必要標記
--secondary-zone string Zone of the secondary disk for asynchronous replication.
選用旗標
--secondary-disk string Secondary disk for asynchronous replication.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-31 (世界標準時間)。"],[[["This command `gdcloud compute disks start-async-replication` initiates asynchronous replication for a virtual machine disk, requiring invocation on the primary disk."],["The command mandates the specification of the secondary disk using the `--secondary-disk` flag, along with its corresponding zone via `--secondary-zone`."],["To start replication, the primary disk name, project, primary zone, secondary disk name, and secondary zone must be provided as demonstrated in the example."],["The `--zone` flag is required and specifies the primary zone, while the `--secondary-zone` flag is also required and specifies the secondary zone."],["Common gdcloud flags such as `--configuration`, `--format`, `--help`, `--project`, and `--quiet` are accessible with this command."]]],[]]