Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to synchronize two unRAID servers

Featured Replies

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.

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

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.