Rsync is a data mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Its characteristics are as follows:
Can be mirrored to save the entire directory tree and file system. It is easy to maintain the original file permissions, time, soft and hard links and so on. Install without special permissions. Optimized process, high file transfer efficiency. You can use RCP, ssh, and so on to transfer files, of course, through a direct socket connection. Support for anonymous transmission, to facilitate the use of Web site mirror image.
Ubuntu installation: sudo apt install rsync
It is important to note that rsync must be installed on servers A and B, where rsync is running in server mode on Server A and B is running rsync on a client side. This runs the rsync daemon on Web Server A and periodically runs the client on B to back up the content that needs to be backed up on Web server A.
For example, assume that the remote http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu host has installed the SSH Server service
Remote Ubuntu Host: 192.168.0.1 Remote File/directory location to copy:/home/username/remotefile.txt Location to be saved by the local host:. (Current working directory)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.