Last active
August 17, 2022 09:20
-
-
Save zclongpop123/9769acd8a001e828e49629a4142775dc to your computer and use it in GitHub Desktop.
Deadline Auto backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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