In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Sync: synchronize the data in memory to the hard disk
Features:
Facilitate incremental backup
You can mirror and save the entire directory tree and file system.
Maintain permissions, time, soft and hard links of the file
High transmission efficiency
You can use SSH encrypted channels
Enable rsync:
Vi / etc/xinetd.d/rsync
Disable = yes = > disable = no # Save exit
Restart xinetd:
Service xinetd restart
If you do not have xinetd installed, you need to install:
Yum install xinetd-y
Chkconfig xinetd on
Examples of use:
1. Back up the remote directory locally
Rsync-arHz-- progress-- delete wap@192.168.247.132:~/test. / tem
-- progress: displays the execution process
two。 Back up the local directory to a remote server
Rsync-arHz-- progress-- delete. / tem wap@192.168.247.132:~/test
Description: when the contents of the directory change, the changed part will be backed up when the backup command is executed again, thus realizing the incremental backup.
Attribute description:
-a: save file properties
-r: subdirectory recursive processing
-H: save the file hard connection
-z: compression processing during backup file transfer
-- progress: displays the transmission process during transmission
-- delete: delete files that are not available in the target backup, and delete them synchronously
-e ssh: use SSH to encrypt tunnel transport (recommended)
For example: rsync-arHz-- progress-- delete-e ssh. / tem wap@192.168.247.132:~/test
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.