1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 14:26:34 +00:00

gcloud: Sat Jun 14 05:31:37 UTC 2025

This commit is contained in:
Automated 2025-06-14 05:31:37 +00:00
parent 1799759190
commit fa40c10f6a
712 changed files with 17386 additions and 4918 deletions

View file

@ -33,29 +33,35 @@ EXAMPLES
To clone an instance from its current state (most recent binary log
coordinates):
$ gcloud sql instances clone instance-foo instance-bar
$ gcloud sql instances clone my-source-instance my-cloned-instance
To clone a MySQL instance from an earlier point in time (past binary log
coordinates):
$ gcloud sql instances clone instance-foo instance-bar \
$ gcloud sql instances clone my-source-instance my-cloned-instance \
--bin-log-file-name mysql-bin.000020 --bin-log-position 170
To clone a MySQL source instance at a specific point in time:
$ gcloud sql instances clone instance-foo instance-bar \
$ gcloud sql instances clone my-source-instance my-cloned-instance \
--point-in-time '2012-11-15T16:19:00.094Z'
To clone a PostgreSQL source instance at a specific point in time:
$ gcloud sql instances clone instance-foo instance-bar \
$ gcloud sql instances clone my-source-instance my-cloned-instance \
--point-in-time '2012-11-15T16:19:00.094Z'
To clone a SQL Server source instance at a specific point in time:
$ gcloud sql instances clone instance-foo instance-bar \
$ gcloud sql instances clone my-source-instance my-cloned-instance \
--point-in-time '2012-11-15T16:19:00.094Z'
To clone a deleted instance, include the name and deletion time of the
source instance:
$ gcloud sql instances clone my-source-instance my-cloned-instance \
--source-instance-deletion-time '2012-11-15T16:19:00.094Z'
POSITIONAL ARGUMENTS
SOURCE
Cloud SQL instance ID of the source.