The application of Rsync and FTP (VSFTPD) in different working scenarios

Source: Internet
Author: User
Tags inotify remote ftp server rsync

Rsync and FTP (more for VSFTPD) in everyone's usual operation and maintenance work should have more contact, here I will not be introduced. Many friends think that the two can be equated with synchronization and backup, in fact, when the real use of these two are different, I generally will be the rsync simple redundancy, and the FTP is called Backup, the two in different working scenarios of the application is also different, as follows:

One, rsync can apply the following work scenario:

①nfs file in one of the main environment, some projects and Web sites can not do NFS dual-machine scheme, so consider using rsync as a redundant NFS machine (--delete parameters should be used with caution);

②rsync+inotify synchronization system, some Web sites due to network environment constraints, such as the machine is increasing with the scale of the site gradually increased into the IDC hosting room, the machine is more dispersed, and temporarily can not stop the business integration Server, The previous scheme may consider the use of rsync+inotify;

The ③ line of SVN with the code of the online machine before the synchronization, like our SVN server code is still relatively large, and the code is updated more frequently, so we will only be able to through the rsync with its own development of the program to synchronize a small number of stable code to the line.


FTP server I usually use in the backup warehouse, like the machine on the line, important data I usually do a double backup, that is, to do a local backup, and then FTP synchronization to the remote FTP server, the advantage is: In any case, the two machines at the same time the probability of physical hard disk failure is very low.


Times in the continuous development of new open source technology has been invented and innovative, but like rsync and FTP these old open source software or services actually have the application scenario, in the work we should combine their advantages, take long to avoid short, with the simplest technology to achieve complex work needs, their advantages to play incisively and vividly , this is a kind of geek (geek) Spirit bar.

This article is from the "Fuqin Wine" blog, please make sure to keep this source http://yuhongchun.blog.51cto.com/1604432/1586264

The application of Rsync and FTP (VSFTPD) in different working scenarios

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.