Rsync + inotify for data synchronization and FAQs
Rsync: Remote Sync is a data image backup tool for Unix-like systems. Rsync can be used to back up data with low real-time requirements. For example, you can use the specified backup file server to
Transferred from: http://chocolee.blog.51cto.com/8158455/1400596 With the expansion of application system scale, the security and reliability of data also put forward better requirements, rsync in the high-end business system also gradually exposed
Do you want to know the truth about the Linux inotify system? Do you want to know what is inherent in the Linux inotify system, I will only give you a full introduction to Linux inotify using Linux inotify to monitor Linux File System events.Linux
Inotify, a new file system change in Linux 2.6 kernel, is a file system change notification mechanism.
I. Introduction
As we all know, Linux desktop systems are much less satisfactory than Mac or windows. To improve this situation, the open-source
Inotify-File System notification mechanism in the kernel, inotify-Kernel
Reprinted: http://www.ibm.com/developerworks/cn/linux/l-inotifynew/index.htmlI. Introduction
As we all know, Linux desktop systems are much less satisfactory than MAC or
Inotify: An efficient, real-time Linux file System event Monitoring Framework Overview-Why do I need to monitor the file system?In daily work, people often need to know that there are changes in some files (clips), such as:
Notification
Each run rsync command will traverse the target directory, when the file is not long, this is no problem, once the file number to a certain scale, then each traversal will consume a lot of resources, if only to the frequent changes in the directory
In addition, rsync + inotify enables Real-time Data Backup
Advantages and disadvantages of rsync
Compared with traditional cp and tar backup methods, rsync has the advantages of high security, fast backup, and support for Incremental backup. rsync
I've written it before. Timed backups via rsync: Windows2008 and Centos7.0 via rsync for Updates (backup), and now the need for real-time synchronous backups via rsync and INotify. The first step: Getting Ready for work 1. INotify
Real-time file backup using Linux commands-incron, rsync, and inotify
I,Rsync, incronIntroduction
For details about the rsync tool and its use with the cron tool for Scheduled backup, refer to the blog:
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.