Ravi Sir's Cards › AWS
Copy servers with rsync
This revision card explains Copy servers with rsync. It starts from the need that dry run first. It describes real copy. The how-to section notes over SSH. An example on the card is mirror exactly.
Read card text
What this card says
Why do we need it?
Dry run first.
rsync -avn src/ dst/
What is it?
Real copy.
rsync -av src/ dst/
How to do it
Over SSH.
rsync -avz app/ web1:/srv/app/
Example
Mirror exactly.
rsync -av --delete src/ dst/