rsync backup script

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

Windows rsync server backup configuration instance

Command: rsync-vzrtopg -- progress -- delete -- exclude = *. txt rsync@192.168.1.9: test/cygdrive/f/ Server-side rsyncd. conf instance: Software http://www.jb51.net/softs/16780.html on server side Use chroot = no# Strict modes = falseHosts allow = *Log file = rsyncd. logPid file = rsyncd. pidUid = administratorGid = administratorMax connections = 4# Module definitions# Remember cygwin naming conventions: c

Increased IP restrictions using rsync Automatic backup full configuration method _linux

is the Certified module name, which needs to be specified on the client side Path=/var/mail # need to do a mirrored directory Comment = Backup Mail # comment Ignore errors # Ignores some irrelevant IO errors Read Only = yes # reading only List = no # does not allow column files Auth users = postfix # Specify user Secrets File=/etc/rsyncd.pwd # Authentication file name, mainly save user password, permissions set to 600, owner root, or client will erro

Use rsync to mirror or backup directories and files between servers other

4. Set the client cron job on the server 192.168.11.2. Self-action backup or mirroring per night 0 * * 1-5/root/.test.sh Note: Automatically run/root/.test.sh for backup every nine o'clock in the evening from Monday to Friday #more/root/.test.sh #!/bin/sh Date= ' Date +%w ' Rsync-tvzrp-e ssh--progress--delete test@192.168.11.7::test/shopu/test/$DATE--password

Rsync builds a Disaster Recovery Backup System

Assume that there are two linux systems A as the server and B as the backup machine. You need to install rsync software on Ah AB to run the rsync daemon on system, system B regularly backs up data specified by system A through the crontab daemon to implement data backup. Server Configuration1. Run the command to check

Linux rsync sync File script sharing

Use rsync can achieve file backup synchronization, a realistic use of the scene is, in the background upload template files, need to sync to another server, through other domain name address access, this need to upload files in the background automatically synchronized to the external access to the server. Log the sh script for an

One-click rsync server shell script configuration in CentOS

One-click rsync server shell script configuration in CentOS 1. Save the following code as a file and upload it to the server named rsync. sh. #! /Bin/bash # Rsync Written by zhumaohai # For more information please visit http://www.centos.bz Echo "Please input the rsync

Rsync + inotify for real-time server backup

Rsync + inotify for real-time server backup 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' % T % w % f % e'

What are the restrictions on rsync backup?

What are the restrictions on rsync backup? -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment: Install cwrsync_server_2.0.10_installer.zip in win2003 Linux AS4 U2 installation rsync-2.6.3-1 Objective: To back up win2003 data to Linux Test backup

Windows rsync Server Backup configuration instance _win server

COMMAND:RSYNC-VZRTOPG--progress--delete--exclude=*.txt rsync@192.168.1.9::test/cygdrive/f/a server-side rsyncd.conf instance: Server-side software download Address http://www.jb51.net/softs/16780.html Use chroot = no #strict modes = False Hosts allow = * Log file = Rsyncd.log PID file = Rsyncd.pid Uid=administrator Gid=administrator Max Connections=4 # Module Definitions # Remember Cygwin naming conventions:c:\work becomes/cygwin/c/work # [Test] P

Data backup rsync (FOCUS)

rsync Remote sync (remotely sync) Install Yum install-y rsync Rsync's command formatrsync [OPTION] ... SRC DEST Rsync-av 123.txt/tmp/rsync [OPTION] ... SRC [[Email protected]]host:dest rsync-av 123.txt 192.168.0.101:/data/rsync

Linux uses the Rsync client and server-side synchronization directory for backup

First, the service side settings1. Modify server-side configuration# vi/etc/rsyncd.confModify:UID = Nobody # This option specifies the UID that the daemon should have when the module transmits the file. The default value is "nobody".GID = Nobody # This option specifies the GID that the daemon should have when the module transmits files. The default value is "nobody".Max connections = 4 # Maximum number of connections is 4Use chroot = no # no chrootLog file =/var/log/rsyncd.logPID file =/var/run/

rsync + lsyncd file real time Sync/backup

LSYNCD on which server to start, this server is like when the server is synchronized, other servers if more files will be deleted, fewer files will be synchronized from this server. Modifying the contents of the file will also be synchronized Rsync can achieve synchronization/backup of files, install configuration step to Linux under rsync

Build a real-time backup system using Inotify-tools and Rsync

program has been suspended state[Email protected] ~]$ Inotifywait-r-e modify,create,delete/tmpsetting up watches. Beware:since-r is given, this could take a while! Watches established.Then /tmp create a new file in the directoryTouch/tmp/newfileThe inotifywait process exits and outputs the following information/tmp/create NewFileSynchronizing changes with rsyncRsync is a fast incremental backup tool. It has several features that make it ideal for us

Remote Automatic Backup rsync + ssh + sshpass

Remote Automatic Backup rsync + ssh + sshpass: the advantages of mutual automatic backup between remote servers (www.2cto.com rsync) The vast majority of O M personnel know that, simply put, only the files that have been modified are backed up, reduce data transmission volume. At the same time, it can transmit data th

Windows Server synchronizes rsync, incremental backup

File = Etc/testuser.pas This is the path where the password files are located, which will be described in detail laterThe hosts allow = 192.168.1.56 allows access to the IP address of this server, my client is 192.168.1.56 I'm going to fill this out, modify it as neededHosts deny = 0.0.0.0/0 this thing prevents access to the address. Okay, finish this. A very important configuration, is the password file, in Figure two, we must not pay attention to a folder, that is, etc folder, good, is

Cross-server/client BACKUP command: rsync usage

Cross-server/client BACKUP command: rsync usage Recently, we often need to deploy environments on a new server. Many things can be backed up directly from other servers without re-downloading and installing them. The rsync command is used: First, download rsync and install it on the "source server". take part in Bai

Local rsync synchronization script (compression function not enabled)

Local rsync synchronization script (compression function not enabled )#! /Bin/bash # toquickbackthefiles! Www.2cto.com # xtao2012.10.8v0.1if [$ #-ne2]; thenecho quot; Usage: $0 lt; sourcedir gt; lt; remotedir gt; quot; echo Local rsync synchronization script (compression function not enabled )#! /Bin/bash # to

Linux System Management Preliminary (eight) data Backup tool rsync

details, let us know the process of synchronization-L Keep Soft links-L with this option, the source files are synchronized when the soft link is synchronized-P Keep File permissions property-O Keep File owner-G hold File group-D Keep Device file information-T keep file Time properties--delte Delete files in dest that are not in SRC--exclude filter the specified file, such as--exclude "logs" will be the file name contains logs files or directories filtered out, not synchronized-P shows the sync

Rsync + inotify Real-time backup

rsync configuration stepsServer-side1. Install rsyncYum Install rsync2. Modify the configuration fileVim/etc/rsyncd.conf #默认不存在需要自己创建##############################Uid=rsyncGid=rsyncUse Chroot =noMax connections=200timeout=600PID File=/var/run/rsyncd.pidLock file =/var/run/rsyncd.lockLog file =/var/log/rysncd.log[ZQ]Path=/zqIgnore errorsRead Only=noList =noHosts ALLOW=192.168.1.0/24Auth USER=ZQSecrets file=/etc/web.passwd3. Create login user and passwo

Inotify + rsync for real-time file backup

Inotify + rsync implements real-time file backup 1. inotify inotify is a powerful fine-grained and asynchronous file system event monitoring mechanism. The Linux kernel has been added to Inotify since 2.6.13, inotify can be used to monitor various events in the file system, such as adding, deleting, modifying, and moving. However, inotify only provides the C language interface, which is inconvenient to call

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.