gcloud beta backup-dr restore-templates run

NAME
gcloud beta backup-dr restore-templates run - run a Restore Template
SYNOPSIS
gcloud beta backup-dr restore-templates run (RESTORE_TEMPLATE : --location=LOCATION) [--async] [--backup=BACKUP] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(BETA) Run a Restore Template.
EXAMPLES
To run a restore template my-template in location us-central1, run:
gcloud beta backup-dr restore-templates run my-template --location=us-central1

To run with a specific backup:

gcloud beta backup-dr restore-templates run my-template --location=us-central1 --backup="projects/p/locations/l/backupVaults/v/dataSources/ds/backups/b"
POSITIONAL ARGUMENTS
Restore Template resource - to run The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument restore_template on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

RESTORE_TEMPLATE
ID of the Restore Template or fully qualified identifier for the Restore Template.

To set the name attribute:

  • provide the argument restore_template on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The location of the Restore Template.

To set the location attribute:

  • provide the argument restore_template on the command line with a fully specified name;
  • provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete. The default is True. Enabled by default, use --no-async to disable.
--backup=BACKUP
The resource name of a specific Backup to restore from. If omitted, the latest backup matching the template's backup selection configuration will be used. Format: projects/{project}/locations/{location}/backupVaults/{vault}/dataSources/{dataSource}/backups/{backup}
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 help for details.

BRIEF
Run a restore template on-demand.
NOTES
This command is currently in beta and might change without notice. These variants are also available:
gcloud backup-dr restore-templates run
gcloud alpha backup-dr restore-templates run