June 30, 201313 yr I am migrating from two Windows based data servers to unRAID, specifically the product Lime Tech sells (14-bay server). Does anyone have a recommendation of software that I can use to synchronize two servers with? Currently, with both or even just one using Windows, I can run a sync program on Windows and it handles the synchronization via Hamachi. What I would really like is a fully automatic tool that keeps them in sync all the time, perhaps on a slight delay (1 hour after files are created or modified, synchronize changes). My current tool takes 2-10 hours to scan part or all of the servers and compare for file differences over the internet. If both servers had local software, they could run full hashes on the files--this isn't possible with a single system product because it would have to download the entire file to hash it. With local software on each server, hashes could be shared. It would also be great for it to keep a small cache of files that were changed (in case files were accidentally bulk deleted) AND it could stop synchronizing if a threshold of data change was passed -- so if the entire file system failed and all files were gone it wouldn't immediately delete them on the other server. Obviously, the other server acts as a backup and should be handled with care.
July 1, 201313 yr I copy the first attachment attached to /etc/cron.daily in the go file. You can put in in hourly. The target server has rsync.d running. This starts rsyncd in the go file: #start rsync deamon with inetd cp /boot/custom/inetd.conf /etc cp /boot/custom/rsyncd.conf /etc /etc/rc.d/rc.inetd restart Files attached. rsync-disks.sh.txt inetd.conf rsyncd.conf
July 1, 201313 yr This is how I would recommend updating the inetd.conf just in the off chance it changes in a future version and you are not replacing it with an older copy. if ! grep ^rsync /etc/inetd.conf > /dev/null ; then cat <<-EOF >> /etc/inetd.conf rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon EOF read PID < /var/run/inetd.pid kill -1 ${PID} fi cp /boot/custom/etc/rsyncd.conf /etc/rsyncd.conf
Archived
This topic is now archived and is closed to further replies.