] ... rsync://[[email protected]]host[:P ort ]/SRC [DEST]There are six different modes of operation for Rsync, which corresponds to the above six command formats:
Copy the local file. This mode of operation is initiated when both the SRC and des path information do not contain a single colon ":" delimiter. Such as:rsync -a /data /backup
Use a remote
Tags: two times error remote path Oca/etc/images City ExampleEight weeks two sessions (January 30)10.28 Rsync Tools Introduction10.29/10.30 rsync Common Options10.31 rsync sync via sshI. Introduction of RSYNC ToolsLinux system has a lot of data backup tools, commonly used is
situations.In this example, I added the archive switch (-a), which is actually equivalent to using several rsync switches at the same time. It includes a recursive and duplicate symbolic link switch, a retention group and a master attribute switch, in short, to make rsync suitable for archival copies. Note that the-a does not retain hard links, and you should al
First, the advantages and disadvantages of rsync
Compared with the traditional CP and tar backup methods, Rsync has the advantages of high security, fast backup, support incremental backup, etc., through rsync can solve the real-
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
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.Optimized process, high file transmission efficiency.Yo
I did not use, save the reference later
Reprint Source: Http://outofmemory.cn/wr/?u=http%3A%2F%2Fsmilejay.com%2F2012%2F02%2Frsync_remote%2F
Two days ago, I checked the department's test data and file backup situation, see the crontab has an rsync script, I look carefully, manual execution is actually not working properly, mainly because rsync there can not be au
logging to the machine, with "ssh" [email protected] ' ", and check in:. Ssh/authorized_keysTo make sure we haven ' t added extra keys so you weren ' t expecting.Test: SSH [email protected][Email protected] ~]# RSYNC-AZP--delete [email protected]:/usr/local/nginx/html//web-backup/[Email protected] ~]# ll-l/web-backup/Total 12-RW-RWXR--. 1 root root 537 Sep 8 10:
-side IP
#第二个zrblog为服务器端设定的自定义命名
#最后的/home/wwwroot is a synchronized Web site Directory
Then, set the permissions
The code is as follows
Copy Code
chmod +x/root/rs.sh
When you have completed the above settings, please run/root/rs.sh on the client manually to detect the success of the normal sync.
Add that if you use the Iptalbes, please note that rsync requires open port 873, otherwise it is not sy
Rsync + sersync for real-time file backup
Part 1: operate on the target server 192.168.0.2171. Install Rsync on the OA file backup server1. Disable SELINUXVi/etc/selinux/config # edit the firewall configuration fileThe Code is as follows:
# SELINUX = enforcing # comment out# SELINUXTYPE = targeted # comment outSELINUX
I just got in touch with the rsync synchronization Backup Server File software. I am looking for an rsync parameter description today. I will introduce these parameters to you. I hope they will help you.
Rsync Installation
The latest version of rsync is 3.0.9.
Wget http://rs
Using Linux's rsync can be very simple to the incremental backup operation of the VPS, today I will write a tutorial for everyone to use.
First need to download two packets, one for the server side, one for the client, server-side VPS for the data source, the client for backup VPS, note: Only support one-way synchroni
your server back directory name)Rsync configuration is complete!!! You can test the test after you have finished configuring it.Other Notes for rsync:Rsync Security Optimization1) If you only want to transfer between the local area network later. First you can bind the address to an intranet address of the network card.Rsync--daemon--address=192.168.0.2212) If the cross-room in the internet transmission, 1, pull line. 2.
tunnel. this is an important point to pay attention! If you use two colons, then despite the specification of SSH on the CommandLine previously, you'll still go through RSH. ooops. the last "www" in that line is the rsync "path" that you set up on the server as in the sample above.
Yes, that's it! If you run the above command on your local rsync client, then you will transfer the entire "/www/*" tree to t
Directory Chapter 1 rsync service configuration process ... 21.1 system Optimization ... 21.2 viewing operating system information and rsync services ... 21.3 Edit rsync service /etc/rsyncd.conf configuration file ... 2 Chapter 2 rsync service setup details ... 32.1 Create rsyn
Rsync + inotify enables real-time server backup, rsyncinotify
Inotify:
Inotify is integrated into the kernel. inotify is used as a third-party software to monitor directory changes through the interfaces provided by the kernel.
The inotifywait command can monitor fine-grained real-time changes to files in the directory. The monitored command is
Inotifywait-mrq -- timefmt '% d/% m/% y % H: % m' -- format' %
Rsync is a fast incremental file transfer tool that can be used for backup within the same host and as a different host network
Backup, because the server generally takes the Rsync tool, so it is more convenient to use.
Now there is a need for the LAN a machine 200G files back to the B machine, and timed synchronizat
Rsync Backup, synchronization of directory Files of the good tools, support increment, compression, difference ratio equivalent advanced characteristics;
Server-side Simple configuration file:
Temporary Quick Start rsync daemon#rsync--daemon
Client Quick Sync Method:
Quickly synchronize all files from the remote ho
This is the time to learn about the VPS backup file content, because after using the VPS all security issues need our own processing, including the security of the website files. We can choose to make regular manual backups, or we can choose to automate scheduled backups. In the old left blog has also written a few on the VPS, the site back up the article, perhaps a little long time do not know whether it i
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.