Created
April 4, 2017 22:17
-
-
Save chrowe/36e4271bc4c5a563db9e7bdace69aa46 to your computer and use it in GitHub Desktop.
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
## AWS | |
cd /var/lib/cassandra/ | |
tar -czvf /home/ubuntu/aws-data.tgz data | |
scp /home/ubuntu/aws-data.tgz sw:~/ | |
## SW | |
cd /var/lib/cassandra/ | |
rm -rf ./data | |
tar -zxvf /root/aws-data.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment