rsync script

Want to know rsync script? we have a huge selection of rsync script information on alibabacloud.com

Linux rsync Command Detailed 1__linux

backup person. Lock file Specifies the lock file that supports the Max connections parameter, and the default value is/var/run/rsyncd.lock. Transfer logging Enables RSYNC servers to use FTP-formatted files to record download and upload operations in their own separate logs. Log format This option allows users to customize the log file's fields using transfer logging. The format is a string that contains a format definition character, and the format d

Powerful rsync website automatic backup tool

/rsync-vzrtopg -- progress -- delete $ dstdir $ rsyncuser @ $ ip: $ module -- password-file = $ rsyncpasswordEcho "$ {file} was rsynced">/tmp/rsync. log 2> 1DoneDone 9. chmod 755 rsync. sh 10. Run the shell script and check whether the operation is successful in the corresponding directory. 11. Set auto-start upon sta

Centos rsync file synchronization configuration steps

rsync_module_name1 is the module name, that is, in/etc/rsyncd. the custom name in conf. rsync_user is the user name that can be synchronized specified in the specified module.The last/www is the name of the local directory that is backed up.You can also use the-e ssh parameter to establish an encrypted connection.You can use-password-file =/password/path/file to specify the password file, so that you can use it in the script without entering the veri

Rsync server and client Creation

service: rsync -- daemon [[emailprotected] ~]# rsync --daemon[[emailprotected] ~]# netstat -antup | grep rsynctcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 5163/rsynctcp 0 0 :::873 :::* LISTEN 5163/rsync 7. Add to startup [[emailprotected] ~]# echo "rsync --daemon" >> /etc/rc.local[[emailprotected] ~]# tail -1 /etc/rc.loc

Inotify+rsync Real-time synchronization configuration tutorial in Linux

changed, triggering 10 rsync full time synchronization (a nightmare), it's better to write a dead loop of rsync total synchronization.#有很多人会说 log Output There is clearly only a sync record of the difference file. In fact, this is the function of rsync, he will only output a difference need to sync the file information. Do not believe you to take this line of

rsync Remote Sync

rsync Remote SyncThe correct and effective backup scheme is an important means to ensure the security of the system and data, in the server usually combined with the scheduled task, shell script to perform local backup.rsync (remote sync) is an open source, fast, secure and efficient offsite backup tool that mirrors and synchronizes the entire directory tree across different hosts, supports incremental back

Linux Daily Maintenance (rsync Introduction, common options, rsync six modes)

Tags: rsync introduction rsync common options rsync six modesI. Introduction of RsyncThe rsync command is a remote data synchronization tool that enables fast synchronization of files between multiple hosts via Lan/wan. Rsync uses the so-called "

Rsync Backup Service configuration process

]# tail/etc/rc.local#!/bin/sh## This script is executed *after* all theother init scripts.# can put your own initialization stuff inhere if you don ' t# want to does the full Sys V style init stuff.Touch/var/lock/subsys/local>/etc/udev/rules.d/70-persistent-net.rules/usr/bin/rsync–daemonTo view logs:[Email protected] oldboy]# Tail/var/log/rsyncd.log2016/09/09 00:49:34 [2143] Receiving file list2016/09/09 00

Centos rsync file Sync configuration step sharing _linux

detailed progress,–delete means that if the server side deletes this file, then the client also deletes the file accordingly, maintaining true consistency.Later in the rsync_user@192.168.0.2::rsync_module_name1, the rsync_module_name1 is the module name, which is the custom name in/etc/rsyncd.conf, rsync_ User is the username specified in the specified module that can be synchronized.The final/www is the backup to the local directory name.In this case, you can also use the e-ssh parameter to es

Rsync + inotify

Rsync I. Basic Knowledge 1. Rsync: A transmission tool, similar to SCP To use SCP, you must know the password and account of the remote host. Upload files locally to remote SCP [Option] source file [[[email protected] host1:] destions/File The file is downloaded to the local device remotely. SCP [Option] [[email protected] host1:] destions/File Source/File 650) This. width = 650; "style =" border-top-width:

Rsync tips (penetration technique)

Permission of a common user (webshell uploaded through rsync or other vulnerabilities such as weak passwords), switch to the synchronization directory and check that the permissions of the uploaded shell files remain unchanged. After running the file, you can upgrade it to the root permission. Automated scripts The Rsync scan module in metasploit that allows anonymous access: Auxiliary/users/

Rsync + SSH Incremental backup file in FreeBSD system

/folder, in the home directory, and chmod to 700. (Note that there must be a '.' before the folder name '.') 2) Move the. id_dsa.pub that was just lost with scp ~ /. Ssh: Mv. id_dsa.pub ~ /. Ssh/authorized_keys In fact, the backup.bkjia.com can be used for password-free SSH authentication to directly connect to the host machine (server.bkjia.com. However, this kind of connection opportunity "allows all sources and all commands" should be changed now. Iii. Restrict the source and power of SSH con

How to configure Rsync to synchronize backup storage in linux

password set on the master server and enter the password: 123456 ljzhou is the user name in the specified password file: linuxsirhome indicates that the password is stored in rsyncd. the module name/tmp set in conf is from the server directory (192.168.0.248/tmp) till now, between the two hosts of rsync (192.168.0.220/tmp and 192.168.0.248/tmp) rsync synchronization has been configured. You only need to ex

Rsync + inotify for Real-Time Synchronization

login: Wed Jan 20 10:42:22 2016 from 10.10.8.54[Root @ rac2 ~] # 2. Install inotify [Root @ dg test] # tar zxvf inotify-tools-3.14.tar.gz[Root @ dg test] # inotify-tools-3.14 cd[Root @ dg test] #./configure -- prefix =/usr/local/inotify[Root @ dg test] # make[Root @ dg test] # make install Inotifywait-mrq-e create, move, delete, modify/tmp/test-E is used to specify which events you want to monitor. These events include create, create, move, delete, and modify attributes of attrib.-M indicates c

CentOS6.5 for rsync + inotify Real-Time Synchronization

-tools: Before installing inotify-tools, check whether your Linux kernel has reached 2.6.13 and the CONFIG_INOTIFY option is enabled during compilation. You can also run the following command to check whether the following output is displayed, note: [root@localhost~] #ls/proc/sys/fs/inotify/ max_queued_eventsmax_user_instancesmax_user_watches Installation: wgethttp: //cloud .github.com /downloads/rvoicilas/inotify-tools/inotify-tools-3 .14. tar .gz tar xvfinotify-tools-3.14. tar .gz cd inotify-t

Rsync data synchronization usage

chroot = no max connections = 4 read only = false list = true uid = nobody gid = nobody # by www.jbxue.com auth users = wwwuser secrets file =/etc/rsyncd. secrets hosts allow = 1.1.1.1, 2.2.2.2 hosts deny = 0.0.0.0/0 ignore errors = yes transfer logging = yes log format = "% a % f % l" # log format = "% o % h [% a] % m (% u) % f % l "[rsyncroot] comment = rsync root path =/use chroot = no max connections = 4 read only = true # read only = false list

Linux rsync synchronization from manual to automatic

Rsync is a fast incremental file transfer tool. It can be used for internal backup of the same host. We can also use it as a network backup tool for different hosts. This article mainly describes how to use an rsync server to implement file transmission, backup, and mirroring. Compared with tar and wget, rsync also has its own advantages, such as fast, secure, an

Linux/centos rsync Installation Configuration tutorial

' clocks. –progress means showing detailed progress, –delete means that if the server side deletes this file, then the client also deletes the file accordingly, maintaining true consistency. Later in the rsync_user@192.168.0.2::rsync_module_name1, the rsync_module_name1 is the module name, which is the custom name in/etc/rsyncd.conf, rsync_ User is the username specified in the specified module that can be synchronized. The final/www is the backup to the local directory name. In this case,

[Sersync + rsync] centos6.5 Remote File sync deployment records

SSH encrypted certificate. # Path of the script for failed sersync transmission. The script will be re-executed every 60 days. After the script is executed, it will be automatically cleared. # Set

Rsync 3.1.1 Source Compilation installation Configuration

/rsync/rSyncd.motd/etc/rsyncd.motdln-s/usr/local/rsync/rsyncd.secrets/etc/rsyncd.secretschmod 600/usr/local/rsync/ Rsyncd.secretschown root:root/usr/local/rsync/rsyncd.secrets start rsync#/usr/bin/rsync--daemon--config=/etc/ rsync

Total Pages: 15 1 .... 7 8 9 10 11 .... 15 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.