You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`requirements.txt` - the pip modules to bootstrap
12
+
-`deploy.sh` - upload the code and deps
13
13
14
14
Upload the function to GCF in the current GCP project:
15
15
@@ -21,6 +21,6 @@ Upload the function to GCF in the current GCP project:
21
21
22
22
-[Cloud PubSub](https://cloud.google.com/pubsub) topic must exist
23
23
-[Cloud Scheduler](https://cloud.google.com/scheduler) must be set to trigger notifications on schedule for any instances and databases in those instances you want backed up to GCS
24
+
- see `gcp_cloud_schedule_sql_exports.sh` - creates jobs for every database in every Cloud SQL instance in the current project (except replicas and stopped instances)
24
25
- service account with permissions to access [Cloud SQL](https://cloud.google.com/sql) and the [GCS](https://cloud.google.com/storage) bucket
25
-
26
-
See [DevOps Bash tools] repo which has scripts to idempotently create the service account and permissions, and also set up the [Cloud Scheduler](https://cloud.google.com/scheduler) jobs for every running non-replica instance and database in the current project.
26
+
- see `gcp_sql_exports_create_service_account.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
0 commit comments