Skip to content

Instantly share code, notes, and snippets.

@zclongpop123
Last active August 17, 2022 09:20
Show Gist options
  • Save zclongpop123/9769acd8a001e828e49629a4142775dc to your computer and use it in GitHub Desktop.
Save zclongpop123/9769acd8a001e828e49629a4142775dc to your computer and use it in GitHub Desktop.
Deadline Auto backup
#!/bin/bash
export PATH=$PATH:/opt/Thinkbox/DeadlineDatabase10/mongo/application/bin
cd /opt/Thinkbox/DeadlineDatabase10/certs
mongodump --port=27100 --ssl --sslCAFile ./ca.crt --sslPEMKeyFile ./mongo_client.pem --authenticationMechanism=MONGODB-X509 --sslAllowInvalidHostnames -d deadline10db -o /opt/backup/`date -I`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment