second machine and use Telnet to check if the port is connected properly.
[[Email protected] ~]# telnet 192.168.74.130 873Trying 192.168.74.130 ...Connected to 192.168.74.130.Escape character is ' ^] '.@RSYNCD: 30.0//This display indicates normal connectivity^]//Button "Ctrl +]" exitTelnet> quitConnection closed.
The files on the first server (Ask-01) can then be sent remotely to the second server (Ask-02).
[[email protected] ~]# RSYN
Linux rsync configuration and installation, yum installation 2. Check whether xinetd is installed, not installed, and yum installation 3. open the port required by rsync in firewall, modify/etc/sysconfig/iptablesShell code-a input-m state -- state NEW-m tcp-p tcp -- dport 873-j ACCEPT 4 and add the configuration file/etc/rsyncd. confShell code touch/etc/rsyncd. c
First, the introduction of rsync
Rsync is a data mirroring Backup tool under the Linux system that enables you to back up local system data over the network to any remote host, and Rsync has the following characteristics:
Can be mirrored to save the entire directory tree and file system
Data can be incrementally syn
Backup@192.168.18.200::www1/backup/www1–password-file=/etc/rsyncd.passwordchmod u+x/opt/rsyncd.shCrontab-e0 5 * * * sh/opt/rsyncd.sh# sync once every 5 hoursThe following are supplementary:Installation system: Redhat Linux as 4 2.6.9Rsync 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 syst
This article describes how to use rsync + inotify to automatically synchronize webpages in linux. For more information, see how to use multiple web servers to achieve load balancing, to maintain resource consistency on the front-end web server, you can use rsync to synchronize updated files to other slave servers (read-only servers) on the master server (data can
How to Use rsync in Linux for data backup, linuxrsync
For various organizations and companies, data is the most important to them. Even for e-commerce, data is equally important. Rsync is a tool/software that backs up important data through the network. It is also a network protocol for synchronizing folders and files between systems through the network on Unix-l
files to the Blogger server. SFTP itself does not have a separate daemon. it must use the sshd Daemon (the default port number is 22) to complete the corresponding connection operations.SFTP is very secure. However, because this transmission method uses encryption/decryption technology, the transmission efficiency is much lower than that of ordinary FTP. if you have higher network security requirements, you can use SFTP instead of FTP.Example: sftp root@10.48.30.192:/root/test. sh (directly cop
Article Title: rsync configuration and usage tutorial in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The testing environment in this test uses Redhat AS4 (two servers, on
that if the server side deletes the file, then the client also deletes the file accordingly, maintaining true consistency. --exclude does not contain the/ins directory--partial prevents rsync from deleting the copied portion when the transmission is interrupted (if the transfer is interrupted while the file is being copied, the default action of Rsync is to undo the pre-action, i.e. from the target machin
How to back up data using rsync in Linux
For various organizations and companies, data is the most important to them. Even for e-commerce, data is equally important. Rsync is a tool/software that backs up important data through the network. It is also a network protocol for synchronizing folders and files between systems through the network on Unix-like and Windo
Linux rsync sync settings
Rsync is a data mirroring backup tool that keeps data synchronized between two servers, and the most frequently used scenario is backing up the data.The installation method is as follows:
Installation
Installing rsync under Ubuntu can be achieved by following these steps:
The c
file in Filename2 is the same as the time created in Filename1,It retains the same symbolic link, permission, time stamp, user name, and group name.3. Synchronizing files from the local to the remote server$rsync-avz filename1 [email protected]:/home/ubuntu/filename2The above command synchronizes the local filename1 to the remote 192.168.0.1 host.Note: If the port of the remote host is not the default port 22, if it is Port 3000, the above command is
Linux: quick setup and use of rsync servers-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Rsync is a data image backup tool in unix-like systems. It can be seen from the software name-remote sync. Its features
corresponding log file/var/log/btmpScreen toolRepresents a virtual terminal that runs in the foregroundKeep a script running in the background without interruptingNohup./test.sh Installation:Yum install-y Screen[Email protected] rsync]# screen #直接进入一个bash[[email protected] rsync] #ping www.baidu.comCtral a combo key and press D to exit the virtual terminal, but not the endScreen-ls viewing the virtual term
data can be transferred via socket(process mode)l process mode transfer with anonymous or authenticated (no system users required) enables easy and secure data backup and mirroringIn addition, the transfer speed is not a hierarchical level compared to the SCP. We often use rsync and SCP to transfer a large number of MySQL data in the LAN, found that rsync is at least 20 times times faster than SCP, so if
Rsync is a data image backup tool in Linux and UNIX systems. Its features are as follows:1. images can be used to save the entire directory tree and file system.2. It is easy to maintain the permissions, time, and soft links of the original file.3. installation without special permissions.4. optimized process, high file transmission efficiency.5. You can use rcp, ssh, and other methods to transmit files. Of
Linux Remote Data Synchronization tool rsync (1)Rsync remote Data Synchronization tool is a data backup tool rsync in linux (remote sync remote synchronization) features: local data synchronization (similar to cp, but different from remote scp ), it first checks whether the
format is to use the module you just set to synchronize the file, test is equal to the Rsync directory in the module settings, similar to an alias (here is the format mentioned above, this is the format:rsync [OPTION] ...) [[email protected]] HOST::SRC DEST)Default to use/etc/rsyncd.conf This configuration file, you can also specify the configuration file rsync--daemon--config=/etc/rsyncd2.confThe options
Linux Remote Data Synchronization tool rsync (1), linuxrsync
Rsync is a data backup tool rsync (remote sync) in linux)
Features: local data synchronization (similar to cp, but different from remote scp), it will first determine the differences between existing data and re
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.