February 26, 201115 yr 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!
February 26, 201115 yr Try searching the wiki and forums on rsync, that should be able to keep them matched up. Here's a pretty good post: http://lime-technology.com/forum/index.php?topic=11079.msg105122#msg105122
February 26, 201115 yr Try searching the wiki and forums on rsync, that should be able to keep them matched up. Here's a pretty good post: http://lime-technology.com/forum/index.php?topic=11079.msg105122#msg105122 Don't think rsync will work unless there is a LAN connection between the two servers.
February 27, 201115 yr 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.
April 29, 201115 yr 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.
December 12, 201114 yr 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?
December 12, 201114 yr rsync and SSH. Assuming the servers can access the outside world. http://troy.jdmz.net/rsync/index.html
December 13, 201114 yr 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..
December 13, 201114 yr 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.