set Rsync.pas to root, with a permission of 600.chmod 600/usr/local/rsync/rsync.pass3. Start the rsync serverRsync--daemon--config=/usr/local/rsync/rsyncd.confClient:Rsync-avz--progress--delete--port=873--password-file=/home/leyewen/etc/rsync/rsync-client.pass--exclude=.svn
ip addresses are separated by spaces: 192.168.0.3 192.168.0.4 192.168.0.5 or set the interval 192.168.0.3/5 hosts allow = 192.168.0.0/24 hosts deny = * max connections = 5 motd file =/etc/rsyncd. motd # This will give you a separate log file =/var/log/rsync. log # This will log every file transferred-up to 85,000 + per user, per sync transfer logging = yes log format = % t % a % m % f % B syslog facility =
Rsync configuration and installation, rsync Configuration
Rsync Installation
1. extract the rsync package, package link: https://pan.baidu.com/s/1jHPosXC password: maay2. enter the rsync installation package run command :. /configure -- prefix =/usrmakemake install3. Go To T
Rsync Introduction
1. What is rsync?
Rsync is an excellent open-source, fast, and multi-function tool that can synchronize and back up incremental local or remote data images. Applicable to multiple platforms. The software name indicates remote sync ). Allows you to quickly synchronize images and remote backup of data
I. Overview of RsyncRsync is a data-mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Rsync is a file synchronization and data Transfer tool under the Linux system that uses the "rsync" algorithm to synchronize files between a client and a remote file server, or to back up data from one partition to another
RSYNC software introduction: rsync is a data image backup tool in unix-like systems. It can be seen from the software name-remote sync. Its features are as follows: images can be used to save the entire directory tree and file system. It is easy to maintain the permissions, time, and soft links of the original file.Installation without special permissions. Optimi
One, rsync remote synchronization serverBrief introduction:rsync (remote synchronize) is a data synchronization tool that allows you to quickly sync files between multiple hosts via Lan/wan, or use rsync to synchronize different directories on your local hard drive.Rsync is a tool for replacing RCP, which uses the so-called "
as an excuse, you can use common file I/O operations such as SELECT, pool, Epoll to see the changes in the file systemEnvironmental requirements:Host1:Centos-7-x86_64Hostname:ws1ipaddr:10.0.0.61Host2:Centos-6-x86_64Hostname:ws2ipaddr:10.0.0.62Note: two hosts are minimized installation iptables and SELinux are offConfigure Host1CentOS 7 minimized installation, Rsync pack installed by default650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/82
Rsync is a data image backup tool in Linux. It can be seen from the software name-Remote Sync. Rsync supports most UNIX-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows:
1.
this time I back up the things on this machine to another machine, the created folder and files, their names are all UTF-8, and if we're mounting this machine with Samba, if codePage = cp936, the backed up files are all garbled characters (Chinese file names and folders). Therefore, codePage = UTF-8 must be specified here. Then you can check the files again. Supplement: rsync supports multiple sync methods
synchronization. The PID file and log file store addresses for PID files and journal files.Test is the synchronization directory, path is the synchronization directory, note that the variable is annotated, such as #xxx, plus the reported chroot error. In addition, hosts allow is limited to synchronous IP, with multiple IP spaces separated. Auth Users and Secrets file are authenticated user and password files, respectively. Where the secrets file permission must be 600, otherwise the synchroniza
Rsync is a data-mirroring backup tool for Linux systems, and--remote sync is visible from the name of the software. Rsync supports most Unix-like systems, which are well tested on Linux, Solaris, and BSD. The latest version of Rsync can be obtained from http://rsync.samba.org/rsync
Rsync is a data image backup tool in Linux. It can be seen from the software name-remote sync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be found at http://rsync.samba.org/rsync. Its features are as follows:1. i
1. Introduction of environment and related softwareOperating system: ubuntu12.04_x64Source Server (push): 192.168.18.10Target server (Backup): 192.168.18.20Rsync:Rsync is a data mirroring Backup tool under UNIX systems and is a fast incremental backup tool (remote sync) that supports local replication or synchronizes with other SSH (secure transfer) and rsync hosts.Rsync has the following common parameters:
transferred-up to 85,000 + per user, per sync
# Transfer logging = yes
Log format = % t % a % m % f % B
Syslog facility = local3
Timeout = 300
[Data]
Path =/data1
List = yes
Ignore errors
Auth users = root
Secrets file =/etc/rsyncd/rsync. secrets
Comment = rsync data1 dir
# Exclude = beinan/samba/
[Garbagekrc]
Path =/data1/garbagekrc
List =
1. rsyncMan to sync, you'll find: Sync-flush file system buffers, which is a command to synchronize the data in the buffer to the filesystem, and Rsync is the remote rsync, which is a long-distance synchronization tool, With the CP and SCP functions, the rsync command is alm
1.rsync and SSH differential remote sync command
Copy Code code as follows:
Command format:
#rsync [option] Source path target path
which
[option]:
A: Use archive mode, equal to-rlptgod, that is, maintain the original file permissions
Z: Compress data on transfer
V: Display to the screen
E: Use a remote shell program (you can use rsh
Raspberry Pi-rsync and Raspberry Pi rsyncYou can use rsync to synchronize folders between different computers. You may want to transfer a file from your desktop computer or laptop to your Raspberry Pi and keep the file updated. Or, you want to automatically transfer the photos taken by Raspberry Pi to your computer.Using SSH-based rsync allows you to automaticall
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.