Skip to content

Instantly share code, notes, and snippets.

@a-nldisr
Last active May 6, 2019 13:58
Show Gist options
  • Save a-nldisr/26be3b3f90fb695433281f9ca3de05f6 to your computer and use it in GitHub Desktop.
Save a-nldisr/26be3b3f90fb695433281f9ca3de05f6 to your computer and use it in GitHub Desktop.
# This triggers the s3-backup you configure in your percona universe task, the dcos cli basically performs this call. With this you can configure a jenkins or other task to perform a weekly backup
curl -H 'Accept-encoding: gzip' -H "Content-Type: application/json" -H "Authorization: token=${MY_TOKEN}" -X POST https://master.mesos/service/percona-server-mongodb/v1/plans/backup-s3/start -d "{ }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment