Last active
October 31, 2016 16:14
-
-
Save Jlaird/80f560d9d2a1ec03da18373af29eb023 to your computer and use it in GitHub Desktop.
Sola expoort
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
#!/usr/bin | |
#Sync Images to their S3 Bucket | |
aws s3 sync --exact-timestamps s3://media.cygnus.com/files/base/sola/ s3://solaserver | |
mongodump -h 10.0.2.50 -d sola_frpc_brevity | |
mongodump -h 10.0.2.50 -d sola_frpc_configuration | |
mongodump -h 10.0.2.50 -d sola_frpc_contracts | |
mongodump -h 10.0.2.50 -d sola_frpc_email | |
mongodump -h 10.0.2.50 -d sola_frpc_import | |
mongodump -h 10.0.2.50 -d sola_frpc_magazine | |
mongodump -h 10.0.2.50 -d sola_frpc_platform | |
mongodump -h 10.0.2.50 -d sola_frpc_subscriptions | |
mongodump -h 10.0.2.50 -d sola_frpc_website | |
zip -r sola_database_final.zip dump/ | |
echo "Copy the zip file to We Transfer and have Eric send them the link. https://www.wetransfer.com/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment