rsync multiple directories

Alibabacloud.com offers a wide variety of articles about rsync multiple directories, easily find your rsync multiple directories information here online.

rsync, rsync + ssh, rsync + LSYNCD multiple synchronization schemes and comparisons

.tar.gzDependency: Lua >= 5.1.3, Rhel6 patchftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6rolling/i386/os/Packages/ lua-devel-5.1.4-4.1.el6.i686.rpmSyntax calls LUA formatCreating a configuration file Share.luaSettings = {.. SlightlyNodaemon = True, # False becomes foreground process, easy to testStatusinterval = 3, # lsyncd.status status update interval... Slightly}sync{.. Slightly}bash = {... Slightly}Settings is the primary configuration, sync is synchronous, bash is th

In windows 2003, rsync excludes synchronization of specified directories or files.

Common scenarios: I want to synchronize some php files under/myweb, but I don't want to copy some log files in/myweb/log/because these files are too large, backup is meaningless. Now, if you want to avoid adding-exclude directly to a path, such as-exclude "./log"-exclude './log/file'Note: the directory path is relative to the folder you are backing up.Exclude specified directories or files during

One-click deployment of Rsync and NFS services, mounting Web servers to NFS, implementing shared Directories and backups

0600/etc/rsync.password Name:server onShell:rsync--daemon Echo ' rsync--daemon ' >>/etc/rc.local#部署NFS并且配置密码文件 to implement push data without password hosts:172.16.1.31 Tasks: name:passfile Shell:echo ' 123456 ' >/etc/rsync.password CHM OD 0600/etc/rsync.password name:rsync Shell:/usr/bin/rsync-az/etc/hosts [emailprotected]:: Backup--password-file=/etc/rsync.passwor

Shell script: Use rsync to back up files/directories

In this article we introduce a shell script that uses the rsync command to back up files/directories on your local Linux machine to a remote Linux server. Using this script will implement the backup interactively, and you will need to provide the host name/IP address and folder location of the remote backup server. We use a separate list file in which you need to list the files/

Rsync excludes specified directories or files for synchronization

Very common situation: I want to sync some php files under/myweb, but do not want to copy some of the/myweb/log/inside the log files, because these files are too large, backup is meaningless. Now if you want to avoid a path directly add-exclude can be like-exclude "./log" –exclude './log/file 'Note: The directory path is relative to the folder backing up.Exclude specified directories or files during rsync b

Shell script: Use rsync to back up files/directories

In this article we introduce a shell script that uses the rsync command to back up files/directories on your local Linux machine to a remote Linux server. Using this script will implement the backup interactively, and you will need to provide the host name/IP address and folder location of the remote backup server. We use a separate list file in which you need to list the files/

Apache Virtual Host configuration (multiple domains access multiple directories), Apache virtual host _php Tutorial

Apache Virtual Host configuration (multiple domains access multiple directories), Apache virtual host Original: http://dason.blog.51cto.com/658897/505312 Apache Virtual Host configuration (multiple domains access multiple directories

Apache Virtual Host configuration (multiple domains access multiple directories)

Original: http://dason.blog.51cto.com/658897/505312 Apache Virtual Host configuration (multiple domains access multiple directories) To facilitate the management of the virtual host, I decided to use one method, that is, to modify the httpd-vhosts.conf file. The first step is to make the extension file httpd-vhosts.conf effective:1. Open apache/conf/httpd.conf F

How multiple MySQL databases are assigned to multiple different file directories

How multiple MySQL databases are assigned to multiple different file directories How multiple MySQL databases are assigned to multiple different file directories I installed the Phpnow environment The default database is placed i

Apache Virtual Host configuration (multiple domains access multiple directories)

Apache Virtual Host configuration (multiple domain names to access multiple directories) in order to facilitate the management of the virtual host, I decided to use one method, that is, modify the httpd-vhosts.conf file. The first step is to make the extension file httpd-vhosts.conf effective:1. Open apache/conf/httpd.conf File2. Find # Include Conf/extra/httpd-v

Rsync synchronization Specifies a multiple-file directory method

DescriptionYou can only exclude upload files/directories using Rsync-av--exclude=upload/home/mysql/backup/home/mysql/backup2/. However, if you want to exclude multiple files/directories, you need to create a new exclude.list and then Rsync-av--exclude-from= "exclude.list" to

Rsync file synchronization (Code synchronization between multiple machines ...)

-- Progress display. backup process-Z, -- compress compresses the backup files during transmission -- exclude = pattern specifies to exclude the file mode that does not need to be transmitted -- include = pattern specifies the file mode to be transmitted without exclusion -- exclude- from = file exclude files in the specified mode -- include-from = file do not exclude files in the specified mode of file -- version print version information -- Address bound to a specific address -- Config = File

File synchronization between multiple machines in Linux (sersync + rsync)

Sersync: http://code.google.com/p/sersync/ When used, the master server first configures rsync vi /etc/rsyncd.conf uid=rootgid=rootmax connections=36000use chroot=nolog file=/var/log/rsyncd.logpid file=/var/run/rsyncd.pidlock file=/var/run/rsyncd.lock【tongbu】path=/opt/tongbucomment = xoyo video filesignore errors = yesread only = nohosts allow = 192.168.8.40/26 192.168.138.94/24hosts deny = * The above configuration is directly copied on sersync Goo

Inotify+rsync multiple Dir-sync

a recursive view directory-Q is the print out event-e modify,delete,create,attrib refers to "Listen create move Delete Write permission"/usr/bin/rsync-av--progress--delete--password-file=/etc/rsync.pas-A archive mode-delete Delete redundant files--password-file Password file4. Add a password file# echo 123456 >/etc/rsync.pas5. Add Permissions# chmod +x inotify_rsync_dirs.sh6. Execution of commands#./inotify_rsync_dirs.shThree. Testing241 Create direc

Automatic real-time synchronization of multiple game suit codes using rsync + inotify

logfile=/var/log/rsyncd.log[login_nginx]path=/etc/ Nginx/comment=loginnginxignoreerrorsreadonly =nowriteonly=nohostsallow=192.168.1.0/ 24hostsdeny=*list=false[game_center] path=/var/www/htmlcomment=game_centercodeignore errorsreadonly=nowriteonly=no Hostsallow=nbsP;192.168.1.0/24hostsdeny=*list=false Here the UID and GID are particularly important, indicating that the RSYNCD daemon should have permission to the specified directory when the file is transferred. If the permissions are not correct

Exclude multiple directories when copying a folder

There are several ways to achieve1) using rsync--excludeCd/usrRSYNC-AVP--exclude=dirc/tmp/home/xx/Note dirc/behind/must, named is the directory, if not add the Dirc file will also be excludedIf you want to exclude multiple directories or files, useRSYNC-AVP--exclude-from=/usr/exclude.list Php/bak[Email protected] php]# RSYNC

Rsync+inotify-tool of multiple Web server code synchronization

Rsync+inotifyEnterprise Web site synchronization methods have multiple, can be used to mount the shared hard disk, but can also be used Rsync+inotify-tool way.Rsync: Responsible for pushing data to the server.INotify: Responsible for monitoring code or file changes in the client, triggering the push.Environment Description:centos-6.5A Server-side (192.168.10.2)

Linux parallel rsync copy n multiple files

Take a look at the comparison chart, the image on the left is a copy of the common Rsync directory, the right figure is the use of the parallel tool and launched multiple rsynccentos6.5 Installation Parallel #!/bin/bash# Install parallel on CentOS 6 .# assumes is root. Prefix w /sudo if not.cd /etc/yum . repos.d/wget http:// download.opensuse.org/repositories/home:tange/centos_centos-5/home:tange.rep

Play YY more any file may be read due to improper configuration of a service (multiple rsync servers can be controlled)

Play YY more any file may be read due to improper configuration of a service (multiple rsync servers can be controlled) Still fastcgi problem, 222.134.66.98 ip Address [root@localhost fastcgi]$ /usr/local/php/bin/php fcgiget.php 222.134.66.98:9000/etc/hostsX-Powered-By: PHP/5.2.6-3ubuntu4.6Content-type: text/html127.0.0.1localhost222.134.66.98ubuntu# The following lines are desirable for IPv6 capable hosts

Exclude multiple files when Rsync synchronizes

Synchronization commands"compile""session_cache""web" /cygdrive/c/www/test/trunk/ username@IP:/home/test/This is to say that the way to exclude multiple files/folders when synchronizing is:--exclude "文件夹名字(1.唯一的时候,可以直接用文件/文件夹名 2.用绝对路径)"以下示例,排除3个文件夹:--exclude .svn --exclude "compile" --exclude "session_cache"Rsync Common parameters:--delete 删除目标文件比源文件多余的文件--exclude 排除文件(文件不会被同步) Copyright NOTICE: This articl

Total Pages: 2 1 2 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.