Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
et-iedo-public
helm
helm-cloudsql-archive
Commits
055e19f6
Commit
055e19f6
authored
Oct 16, 2021
by
Adam Lewenberg
Browse files
more work on man page (take 3)
parent
7e85125c
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
055e19f6
...
...
@@ -68,6 +68,9 @@ repository to the `/root` directory. The main container is Google's
[
`values.yaml`
](
common/helm/values.yaml
)
(
see
"Configuration"
below).
The program
`gcp-cloudsql-archive.py`
in turn calls
`gcloud`
.
See also the
[
man page for
`gcp-cloudsql-archive.py`
](
gcp-cloudsql-archive.md
)
.
## Configuration
All configuration is made in
...
...
@@ -136,7 +139,10 @@ the data from the Cloud SQL instance and write to the Cloud Storage
bucket. The permissions needed are described on the
[
"Exporting and
importing using SQL dump files" page
][
1
]
.
See also
[
this StackOverflow answer
][
6
]
.
You will also need to grant the service account associated with the Cloud
SQL instance the right to create storage objects. For more details on this
as well as Terraform code to enable these permissions see
[
this
StackOverflow answer
][
6
]
.
[
1
]:
https://cloud.google.com/sdk/gcloud/reference/sql/export/sql
...
...
gcp-cloudsql-archive.md
View file @
055e19f6
...
...
@@ -24,7 +24,7 @@ Example: In the context of GCP project **my-project** export the databases
The above command will dump the databases
**db1**
,
**db2**
, and
**db3**
to
the objects
`gs://my-bucket/db1.gz`
,
`gs://my-bucket/db2.gz`
,
`gs://my-bucket/db3.gz`
respectively.
and
`gs://my-bucket/db3.gz`
respectively.
Note that the "option"
**--databases**
is required.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment