File: //snap/google-cloud-cli/current/help/man/man1/gcloud_beta_bigtable_tables_restore.1
.TH "GCLOUD_BETA_BIGTABLE_TABLES_RESTORE" 1
.SH "NAME"
.HP
gcloud beta bigtable tables restore \- restore a Cloud Bigtable backup to a new table
.SH "SYNOPSIS"
.HP
\f5gcloud beta bigtable tables restore\fR (\fB\-\-destination\fR=\fIDESTINATION\fR\ :\ \fB\-\-destination\-instance\fR=\fIDESTINATION_INSTANCE\fR) (\fB\-\-source\fR=\fISOURCE\fR\ :\ \fB\-\-source\-cluster\fR=\fISOURCE_CLUSTER\fR\ \fB\-\-source\-instance\fR=\fISOURCE_INSTANCE\fR) [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR This command restores a Cloud Bigtable backup to a new table.
.SH "EXAMPLES"
To restore table 'table2' from backup 'backup1', run:
.RS 2m
$ gcloud beta bigtable tables restore \-\-source\-instance=instance1 \e
\-\-source\-cluster=cluster1 \-\-source=backup1 \e
\-\-destination\-instance=instance1 \-\-destination=table2
.RE
To restore table 'table2' from backup 'backup1' in a different project, run:
.RS 2m
$ gcloud beta bigtable tables restore \e
\-\-source=projects/project1/instances/instance1/clusters/\e
cluster1/backups/backup1 \e
\-\-destination=projects/project2/instances/instance2/tables/\e
table2
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Table resource \- The destination to restore to. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-destination\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fB\-\-destination\fR=\fIDESTINATION\fR
ID of the table or fully qualified identifier for the table.
To set the \f5destination\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-destination\fR on the command line.
.RE
.sp
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-destination\-instance\fR=\fIDESTINATION_INSTANCE\fR
Name of the Bigtable instance.
To set the \f5instance\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-destination\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-destination\-instance\fR on the command line;
.IP "\(bu" 2m
provide the argument \f5\-\-source\-instance\fR on the command line.
.RE
.sp
.RE
.sp
.TP 2m
Backup resource \- The source to restore from. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-source\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fB\-\-source\fR=\fISOURCE\fR
ID of the backup or fully qualified identifier for the backup.
To set the \f5source\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-source\fR on the command line.
.RE
.sp
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-source\-cluster\fR=\fISOURCE_CLUSTER\fR
Name of the Bigtable cluster.
To set the \f5cluster\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-source\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-source\-cluster\fR on the command line.
.RE
.sp
.TP 2m
\fB\-\-source\-instance\fR=\fISOURCE_INSTANCE\fR
Name of the Bigtable instance.
To set the \f5instance\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-source\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-source\-instance\fR on the command line;
.IP "\(bu" 2m
provide the argument \f5\-\-destination\-instance\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud bigtable tables restore
.RE
.RS 2m
$ gcloud alpha bigtable tables restore
.RE