Sunday 11 November 2018

How to copy data from AWS instance using Rsync in Centos 7



Rsync is open source software that used to synchronize files/folders from local to local computers and remote computers as well over SSH with compression and encrypted files.
Install rsync package: Follow the tutorial How to install rsync utility in Centos 7 if it is already not installed.

Use the below rsync command to copy data from remote to local machine:

[root@linuxcnf ~]# rsync -avz -e "ssh -i /root/userkey.pem" User-Name@AWS-INSTANCE-IPADDRESS:/home/User-Name/Data/* /Backup/

That’s it!!!

No comments:

Post a Comment