Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- MONGO_DATABASE="xxxxxxx"
- MONGO_PASSWORD="xxxxxxxx"
- MONGO_USERNAME="xxxxxxx"
- BACKUP_PATH="xxxxxxxxx"
- mongorestore --quiet --username $MONGO_USERNAME --password $MONGO_PASSWORD --authenticationDatabase $MONGO_DATABASE dump/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement