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.

Synronization of two remote servers

Featured Replies

Hi,

 

Does anyone know of a way to keep 2 UnRaid servers (remotely) synchronized via a USB-drive or the like (on a one-way basis)?  Ideally I could plug in a USB drive to Server A, and changes since the last sync would be copied across automatically.  Then plug into Server B and data would be pulled in the correct places in that server.

 

I'm guessing that it won't be that easy, but wanted to ask!

The trivial "not really what your looking for" answer would be having an external drive that has the capacity to take all the data that you wish to sync, using it as a portable intermediary and doing two syncs at each end. But, I guess that there would not exist an external drive big enough for what you have in mind.  :)

 

Best I can think of, off the cuff, is to create a custom backup script that searches for files modified after your last sync and copy to your external drive with the directory structure intact.

 

Back in the day, I used to use removable drive cages and synced/backup for offsite back ups. This might work, but you would have to redo the parity every time you backed/synced up.

  • 2 months later...

I would assume this would be possible with a VPN and rsync the data through the Internet in the secure tunnel?

 

of course the amount of data and bandwidth speed would be a factor.

 

I do off-site backups with my windows boxes this way.

 

This is something I would be interested in.

  • 7 months later...

I would assume this would be possible with a VPN and rsync the data through the Internet in the secure tunnel?

 

of course the amount of data and bandwidth speed would be a factor.

 

I do off-site backups with my windows boxes this way.

 

This is something I would be interested in.

 

 

I think this would work but have very little idea on how to set it up. I currently have 2 servers, currently synced up, I am moving one off site soon and would like to be able to rsync it if possible. could anyone help me with how to set up a secure tunnel?

To do it vpn style, you could install Hamachi on both Unraid servers

 

Joe

 

There is also another article which is very similar, but sue rsnapshot instead, which as the name implies, takes snapshots of your server with the benefit of reducing the space required for backups.

 

http://troy.jdmz.net/rsnapshot/

 

Your friends here (they are the "Swiss Army knife" on Linux) are:

 

SSH

rsync

rsnapshot

cron

 

Worth pointing out, if you are opening things up to the outside world make sure you have secured all you can, such:

 

Port security

Logging instrusion

Alerts to intrusion

Logging transaction

 

Useful tools for the above:

 

Logwatch

Fail2ban

OSSEC

Monit

psad

 

...amongst others..

rsnapshot is cool, but it also requires perl.

 

as a simpler alternative, I have an script which does something similar to rsnapshot, but does not encompass all the features.

 

it does an rsync using --linked-dest to save space. It saves the backup in a dated folder.

 

The one feature I never added was any form of purging. I left that up to the user.

 

One day I'll write a tool to calculate candidates to save and/or remove. But for now this is as simple as it gets for rsync snapshot backups.

 

 

http://code.google.com/p/unraid-weebotech/downloads/detail?name=rsync_linked_backup

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.