rsync automatic

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

Linux Server Sync rsync sync server file _linux

no configuration is required. Then, on Server B, create the following script: #!/bin/bash /usr/loca/rsync/bin/rsync-vazu-progress–delete –password-file=/etc/rsync.secret terry@192.168.100.21:/terry//home Save this script as atob.sh and add the executable properties: # chmod 755/root/atob.sh Then, with the crontab setting, the script runs every 30 minutes. To execute a command: # CRONTAB-E Enter the followi

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters Important NFS Problems 1. NFS client users write NFS. 1) Why do ordinary users need to write NFS. 2) Add all_squash to exports.What is Rsync? Rsync is an open-source, fast, and versatile tool that supports full o

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters

Set up rsync Data Synchronization backup and rsync Data Synchronization for Small and Medium-sized Clusters Important NFS Problems 1. NFS client users write NFS. 1) Why do ordinary users need to write NFS. 2) Add all_squash to exports.What is Rsync? Rsync is an open-source, fast, and versatile tool that supports full o

Rsync remote Synchronization

/rsync. password # The permission must be 600[Root @ localhost ~] # Ls/etc/rsync. password-l-Rw ------- 1 root 15 12-10 10:18/etc/rsync. password Start the service[Root @ localhost ~] # Rsync -- daemon # -- daemon indicates that daemon is started as a daemon.[Root @ localhost ~] # Ps-ef | grep

Linux uses rsync remote file synchronization and backup tools teaching and learning examples __linux

rsync Simple The role of rsync is like the general Linux CP and SCP directive, which can be copied from the source location to the destination location, however, rsync is more efficient than CP and SCP in a copy of the file, and supports both the connection and the devices, as well as the retention of the file's owner, group Group and permissions, In the first c

Rsync + sersync for real-time file backup

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 = disabled # Add: Wq! # Save and exit Setenforce 0 # effective immediately 2. Enable tcp p

Rsync remote backup installation settings

) # Rsync-vzrtopg -- progress -- password-file =/etc/rsync. pas/backup/web/rsync@10.0.0.10: backup This command backs up all files (including subdirectories) in the local machine/web directory to the backup directory set by the backup module of rsync server (10.0.0.10. Note that if the path ends with "/", it indicates

Rsync installation instructions

-vzrtopg -- progress -- delete hening@192.168.0.217: backup/home/backup -- password-file =/etc/rsync. pasUpload files to the SERVER/Usr/bin/rsync-vzrtopg -- progress -- password-file =/root/rsync. pas/home/backup hening@192.168.0.217: backupThis command backs up all files (including subdirectories) in the local machine/home/backup Directory to the backup director

Detailed steps for real-time data synchronization using rsync and sersync in linux

synchronization Directory192.168.21.127, 192.168.21.128: # target server IP addressName = "home_www.bitsCN.com": # name of The rsync directory module on the target serverUsers = "home_www.bitsCN.com_user": # target server rsync user namePasswordfile = "/etc/passwd.txt": # the target server rsync synchronizes the user's password to the storage path of the source

Use rsync to back up images from linux to linux or to windows

/usr/local/apache/htdocs/pub/html/directory of the backup machine. In this way, the rsync synchronization service has been set up. Finally, we can use the crontab command executed on the client to implement automatic backup or write some scripts, in this way, the rsync synchronization service is more perfect. 2. Configure the Windows Client To use

CentOS use Rsync to implement the scheduled copy function

--delete devilzy@192.168.152.154::html/home/html--PASSWORD-FILE=/ETC/RSYNCD.PW Uploading files to the server side /USR/BIN/RSYNC-VZRTOPG--progress--password-file=/root/rsyncd.pw/home/index Devilzy@192.168.152.154::index /USR/BIN/RSYNC-VZRTOPG--progress--password-file=/root/rsyncd.pw/home/html devilzy@192.168.152.154::html This command backs up all files (including subdirectories) in the local machine/home/b

Linux rsync Installation Configuration example detailed _linux shell

the kill, execute Netstat–anp|grep 873 or lsof–i:873 again, the result is null: 10, Firewall settings: If a firewall is installed on the server, set the iptables on the server to open the 837 port. [Root@hyj ~]# iptables-a input-p tcp--dport 873-j ACCEPT 11. If the rsync process is not running, start rsync on the server side: (1), Start rsync service side

Use rsync in centos for scheduled Replication

create this directory. If it does not contain "/", it is created. Rsync usage: Rsync [Option]... [user @] HOST: SRC [DEST] # Back Up Files from rsync server to Local Machine Rsync [Option]... SRC [SRC]... [user @] HOST: DEST # Back Up Files from local machines to rsync serv

Example of real-time synchronization of data in Linux under Rsync+sersync

/usr/local/sersync #进入sersync安装目录 CP Confxml.xml Confxml.xml-bak #备份原文件 VI confxml.xml #编辑, modify the following code : wq! #保存退出 Parameter description: LocalPath watch= "/home/www.111cn.net": #源服务器同步目录 192.168.21.127,192.168.21.128: #目标服务器IP地址 Name= "Home_www.111cn.net": #目标服务器rsync同步目录模块名称 Users= "Home_www.111cn.net_u

Rsync working mechanism (translation), rsync working mechanism Translation

Rsync working mechanism (translation), rsync working mechanism Translation This article is an official rsync recommendation article on How Rsync Works translation. The main content is Rsync terminology and a simple version of rsync

Real-time synchronization of data in Linux under Rsync+inotify-tools

module;#例如: You do not need to synchronize the/home/www.osyunwei.com/directory under directory A and B directories under the B1 directory, exclude.list files can be written like thisA/b/b1/Rsyncuser=home_www.osyunwei.com_user #目标服务器rsync同步用户名Rsyncpassdir=/etc/passwd.txt #目标服务器rsync同步用户的密码在源服务器的存放路径dstip= "192.168.21.127 192.168.21.128" #目标服务器ip, multiple IPs separated by spaces/tmp/rsync.log #脚本运行日志记录6, se

Rsync random start script and rsync script

Rsync random start script and rsync script Server 1 #!/bin/sh 2 # chkconfig: 2345 21 60 3 # description: Saves and restores system entropy pool for \ 4 #create by xiaohu 5 #2014.06.02 6 #This script is the Rsync service script 7 . /etc/init.d/functions 8 case "$1" in 9 start)10 echo "rsync is starting"11

Slime: Synchronization of Linux Files Rsync Learning (i)

This article by show according to Lin Feng to provide friendship sponsorship, starting in the mud row world. Just have a few days to start learning Linux file synchronization software rsync, when learning rsync, we can be divided into the following several steps: 1. What is rsync? 2. How rsync Works 3.

Linux O & M and architecture-rsync and linux-rsync

Linux O M and architecture-rsync and linux-rsync 1. rsync IntroductionRsync is a tool for Synchronous backup of full and incremental local or remote data images Common rsync Command Parameters Command parameter description-a (-- archive) archive mode indicates that the file is transmitted recursively, and all file att

[Rsync]--rsync file synchronization and backup

Experimental environment(1) rsync server: 10.0.10.158(2) rsync client: 10.0.10.173 Rsync Server-side configuration1. Installing xinetd and rsyncYum Install Yuminstall rsync2. Creating configuration directories and filesmkdir /etc/rsyncThis directory contains 3 files: rsyncd.conf # rsync Master configura

Total Pages: 15 1 .... 3 4 5 6 7 .... 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.