Skip to content

Instantly share code, notes, and snippets.

@brokendish
Created January 22, 2012 11:01
Show Gist options
  • Save brokendish/1656581 to your computer and use it in GitHub Desktop.
Save brokendish/1656581 to your computer and use it in GitHub Desktop.
rsyncでローカル(Ubuntu)からVPSのデータを取得※バックアップデータ
#rsyncでローカル(Ubuntu)からVPSのデータを取得※バックアップデータ
rsync -avz -e 'ssh -p xx -i /home/hoge/.ssh/hoge.com-rsa' hoge.com:/home/hoge /home/hoge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment