Created
March 22, 2021 16:33
-
-
Save ejschaefer/54aa91afd3ab9b7b6d877059d076ab78 to your computer and use it in GitHub Desktop.
temp
This file contains hidden or 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 | |
| mkdir -p /media/data/images | |
| for i in {00001..0020000}; do | |
| aws s3 cp s3://aft-vbi-pds/bin-images/$i.jpg /media/data/images/ >> /tmp/sync | |
| done | |
| aws s3 cp s3://ee-assets-prod-us-east-1/modules/e35bbbac194e4808b01d7bb937cadfa9/v1/db_backup/sample_backup_20210322.bak /media/data/MSSQL_BACKUP/ >> /tmp/sync | |
| echo "/media/data *(rw,no_root_squash)" > /tmp/exports | |
| sudo cp /tmp/exports /etc/exports | |
| sudo service nfs restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment