Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

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.

Copy servers with rsync Dry run first. Real copy. Over SSH. Mirror exactly.
Copy servers with rsync · Download PNG
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/

See all AWS revision cards