Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud compute disks start-async-replication - Start async replication on a virtual machine disk. This command must be invoked on the primary disk and --secondary-disk must be provided.
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
REQUIRED FLAGS
--secondary-zone string Zone of the secondary disk for asynchronous replication.
OPTIONAL FLAGS
--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.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis command \u003ccode\u003egdcloud compute disks start-async-replication\u003c/code\u003e initiates asynchronous replication for a virtual machine disk, requiring invocation on the primary disk.\u003c/p\u003e\n"],["\u003cp\u003eThe command mandates the specification of the secondary disk using the \u003ccode\u003e--secondary-disk\u003c/code\u003e flag, along with its corresponding zone via \u003ccode\u003e--secondary-zone\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo start replication, the primary disk name, project, primary zone, secondary disk name, and secondary zone must be provided as demonstrated in the example.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag is required and specifies the primary zone, while the \u003ccode\u003e--secondary-zone\u003c/code\u003e flag is also required and specifies the secondary zone.\u003c/p\u003e\n"],["\u003cp\u003eCommon gdcloud flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e are accessible with this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute disks start-async-replication\n\nNAME\n----\n\ngdcloud compute disks start-async-replication - Start async replication on a virtual machine disk. This command must be invoked on the primary disk and --secondary-disk must be provided.\n\nSYNOPSIS\n--------\n\n gdcloud compute disks start-async-replication DISK_NAME [flags]\n\n### EXAMPLES\n\n 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:\n\n gdcloud compute disks start-async-replication example-disk-1 \\\n --project example-project \\\n --zone us-east1-a \\\n --secondary-disk example-disk-2 \\\n --secondary-zone us-west1-a\n\n### REQUIRED FLAGS\n\n --secondary-zone string Zone of the secondary disk for asynchronous replication.\n\n### OPTIONAL FLAGS\n\n --secondary-disk string Secondary disk for asynchronous replication.\n --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.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]