# install rsync apt-get install rsync # configure share cp /etc/rsyncd.conf /etc/rsyncd.conf.old cat <<EOF> /etc/rsyncd.conf uid = nobody gid = nogroup timeout = 600 log file = /var/log/rsyncd.log transfer logging = true [ftp] comment = public archive path = /var/www/pub use chroot = yes EOF # enable rsync demon sed -i 's|RSYNC_ENABLE=false|RSYNC_ENABLE=true|g' /etc/default/rsync # restart rsync /etc/init.d/rsync restart # EXAMPLES # list shares / modules rsync YOUR_SERVER:: # sync files rsync -rP YOUR_SERVER::stsbox/* . # LINKS http://transamrit.net/docs/rsync/ http://www.linux-magazin.de/Heft-Abo/Ausgaben/2007/08/Garantiert-gleich
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!