gcloud alpha backup-dr management-servers create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha backup-dr management-servers create - create a new management server in the project
- SYNOPSIS
gcloud alpha backup-dr management-servers create(MANAGEMENT_SERVER:--location=LOCATION)[--async][--network=NETWORK][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Create a new management server in the project. A managementserver is required to access the management console. It can only be created inlocations where Backup and DR is available. Resources in other locations can bebacked up.- EXAMPLES
- To create a new management server
sample-msin projectsample-projectand locationus-central1, run:gcloudalphabackup-drmanagement-serverscreatesample-ms--project=sample-project--location=us-central1 - POSITIONAL ARGUMENTS
- Management Server resource - Name of the management server to be created. Oncethe management server is deployed, this name can't be changed. The name must beunique for a project and location. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
management_serveron the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
MANAGEMENT_SERVER- ID of the Management Server or fully qualified identifier for the ManagementServer.
To set the
nameattribute:- provide the argument
management_serveron the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the Management Server.
To set the
locationattribute:- provide the argument
management_serveron the command line with afully specified name; - provide the argument
--locationon the command line.
- provide the argument
- provide the argument
- Management Server resource - Name of the management server to be created. Oncethe management server is deployed, this name can't be changed. The name must beunique for a project and location. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.The default is
True. Enabled by default, use--no-asyncto disable. --network=NETWORK- (DEPRECATED) Name of an existing VPC network with private service accessconfigured in the format -projects/<project>/global/networks/<network>. This VPC networkallows the management console to communicate with all backup/recovery appliancesand requires a minimum IP range of /23. This value cannot be changed after youdeploy the management server. If you don't have private service access,configure one. [Learn more](https://cloud.google.com/vpc/docs/configure-private-services-access)
Flag --network is deprecated.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - BRIEF
- Creates a new management server
- NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudbackup-drmanagement-serverscreategcloudbetabackup-drmanagement-serverscreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.