In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
About rsync, a fast incremental backup tool
Remote Sync, remote synchronization
Support local replication or synchronize with other SSH or rsync hosts
Official website: http://rsync.samba.org
Configure rsync source server rsync synchronization source refers to the remote server for backup operation, also known as backup source
Basic idea of configuring rsync source to set up rsync.conf configuration file, independent account file enable rsync-- daemon mode application sample user backuper, the directory that allows the following synchronization operation is / var/www/html configuration file rsyncd.conf needs to be established manually, the syntax is similar to Samba configuration authentication configuration auth users,secrets file, and the anonymous rsync account file is recorded in the format of "user name: password" if not added. One user per line records independent account data, independent of system account enabling rsync service via-- daemon provides services alone to execute kill $(cat / var/run/rsync.pid) turn off rsync service using rsync backup tool rsync command usage rsync [options] original location target location common options-a: archive mode, recursive and retain object attributes And so on-rlptgoD-v: display details of the synchronization process-z: compress files when transferring files-H: keep hard connection files-A: retain ACL attribute information-delete: delete files that are present in the target location but not in the original location-- checksum: two representations of the file configuration source format 1: user name @ host address:: share based on the checksum of the object Module name format 2:rsync:// user name @ host address / shared module name rsync real-time synchronization deficiency of regular synchronization time for backup is fixed Obvious delay, poor real-time performance when the synchronization source does not change for a long time, intensive periodic tasks are unnecessary real-time synchronization advantages. Once the synchronization source changes, immediately start the backup as long as the synchronization source does not change, then do not perform backup about inotify (installed on the initiator) Inotify is a Linux feature that monitors file system operations, such as read, write and create. Inotify is responsive, easy to use, and much more efficient than the busy polling of cron tasks. Can monitor changes in the file system and make a notification response; auxiliary software: inotify-tools
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.