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
justin
rclone-to-dropbox
Commits
cc21c6e4
Verified
Commit
cc21c6e4
authored
Jan 05, 2020
by
justin
Browse files
Add rsync-to-dropbox for CloudSQL backup bucket.
parent
7e328aef
Pipeline
#730
passed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deploy/kubectl-apply/gke/backup.yaml
View file @
cc21c6e4
...
...
@@ -134,3 +134,38 @@ spec:
secret
:
secretName
:
rclone-backup
restartPolicy
:
OnFailure
---
apiVersion
:
batch/v1beta1
kind
:
CronJob
metadata
:
name
:
rclone-gke-cloudsql-backups-to-dropbox
namespace
:
gitlab
spec
:
suspend
:
false
schedule
:
"
0
16
*
*
2"
jobTemplate
:
spec
:
template
:
spec
:
containers
:
-
name
:
rclone-to-dropbox
image
:
rclone/rclone
args
:
-
--config
-
/secrets/rclone-backup/rclone.conf
-
-v
-
copy
-
--no-traverse
-
--fast-list
-
--size-only
-
palpantlab-gcs:gcloud-cloudsql-backups
-
dropbox:gcloud-cloudsql-backups
volumeMounts
:
-
name
:
rclone-backup-secret
mountPath
:
/secrets/rclone-backup
readOnly
:
true
volumes
:
-
name
:
rclone-backup-secret
secret
:
secretName
:
rclone-backup
restartPolicy
:
OnFailure
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