Created
January 22, 2012 12:07
-
-
Save brokendish/1656742 to your computer and use it in GitHub Desktop.
rsyncでローカル(Ubuntu)からVPSのデータを取得
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
rsync -avz -e 'ssh -p xx -i /hoge/hoge/.ssh/rsa' hoge.com:/hoge/bkup /hoge/hoge/VPSBkUp/week-1 | |
rsync -avz -e 'ssh -p xx -i /hoge/hoge/.ssh/rsa' hoge.com:/hoge/bkup /hoge/hoge/VPSBkUp/week-2 | |
rsync -avz -e 'ssh -p xx -i /hoge/hoge/.ssh/rsa' hoge.com:/hoge/bkup /hoge/hoge/VPSBkUp/week-3 | |
rsync -avz -e 'ssh -p xx -i /hoge/hoge/.ssh/rsa' hoge.com:/hoge/bkup /hoge/hoge/VPSBkUp/week-4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment