May 13

rsync is an open source utility that provides fast incremental file transfer. rsync is freely available under the GNU General Public License and is currently being maintained by Wayne Davison.

The command for automatic backup

#On the rsync server [192.168.1.29].
touch /var/log/rsyncd.log

#Add the following lines to /etc/rsyncd.conf file.
motd file = /home/rsync/welcome.msg
log file = /var/log/rsyncd.log
use chroot = yes
[server_bkp]
path = /var/www/html
comment = Default rsync module
read only = yes
list = yes
uid = root
gid = root
max connections = 20

#Allowable client machines. Comma separated list.
hosts allow = 192.168.1.70

#Now restart the rsync daemon.
rsync –daemon

#On the client side [192.168.1.70].
mkdir /backup/html

#Set crontab for the backup.
crontab -e
#30 11 * * * /usr/bin/rsync -aqz 192.168.1.29::server_bkp /backup/html

For more information please visit http://rsync.samba.org

written by admin

2 Pings to “rsync-”

  1. RICK Says:


    MedicamentSpot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality drugs. Buy pills online

    Buy:Female Cialis.Prozac.Zetia.Cozaar.Lasix.Benicar.Ventolin.Aricept.Zocor.Nymphomax.Amoxicillin.Lipothin.Wellbutrin SR.Female Pink Viagra.Lipitor.SleepWell.Buspar.Acomplia.Advair.Seroquel….

  2. the Says:

    bingo http://operiodicplcb.bestpartsstore.info/tag/Teaching+the+bingo+Periodic/ : Periodic…

    Periodic…


2 Responses to “rsync-”

  1. 1. payday loans Says:

    This is a superb post RubyFreaks .
    But I was wondering how do I suscribe to the RSS feed?

  2. 2. fujdajjo Says:

    khKpYK ywyifftdfynd, [url=http://bjawkpfhbmmx.com/]bjawkpfhbmmx[/url], [link=http://hpiphqgrbsdl.com/]hpiphqgrbsdl[/link], http://bbjlgfkkbwwz.com/

Leave a Reply