Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save felipe3dfx/15e161176dc1d8222d3ab4200e975003 to your computer and use it in GitHub Desktop.
Save felipe3dfx/15e161176dc1d8222d3ab4200e975003 to your computer and use it in GitHub Desktop.
Rsync backup from remote EC2 server
rsync -havzP -e "ssh -i /home/deploy/xxxxx.pem" root@x.x.x.x:/home/deploy/complete-path/ /home/deploy/complete-path/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment