LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-15-2008, 09:44 AM   #1
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Rep: Reputation: 15
Unison setup - or other file sync software


I am forcing myself to switch to Ubuntu 8.04 Linux as my primary OS (still have to run XP in VirtualBox for a few things) but I think I have pretty much everything set up the way I need it except for my file sync. I have a Buffalo LinkStation Pro NAS that I use as a file server. All of my computers sync their documents to this NAS, so I need 2-way sync - in other words, if I change a file on the NAS, I want the sync software to recognize this and download it to my computer and if I change a file on my Ubuntu system, I want the sync software to recognize it and upload it to the NAS.

In Windows, I use Vice Versa Pro, which works flawlessly. I have thought about setting up a network bridge in VirtualBox and just using Vice Versa, but I think I would rather do this directly from Linux. I was looking into Unison, but I can't figure out how to do the sync without 1) the NAS running Unison on it too (which it can't do) and 2) without mapping the network folder as a drive. Since this is a Laptop and the NAS isn't always available, I would rather not map it.

I have 4 options in Unison - local, ssh, rsh and socket. The NAS has a network name and a fixed IP, so I can get to it either of those ways, but I'm not sure how to set it up because the parameters for ssh, rsh, and socket are a combination of host, user, and port... I have a username and password to get into the folder, but have no idea about host or port.

Can someone help me set this up or recommend another software that will do the job - or should I just continue to do it from XP?

Also, I looked into rsync, but I'd rather have something with a GUI and if I understand it correctly, it just looks like it copies the file without looking for changes. This folder has about 7 gb of data, so I don't want to copy everything every day.
 
Old 06-15-2008, 10:29 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,017
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
As I read what you wrote from title down I thought "rsync". Then I read your last line and realized you'd ruled it out partly because you misunderstand how it works.

rsync does not copy the entire 7 GB every time. It copies only the changes (unless you tell it otherwise). It has many options. You can tell it to copy all files from the NAS to the local OR vice-versa OR both. You can tell it to delete things from the target that are no longer on the source. You can tell it to use ssh for the transport. You can tell it compress the files that are being transferred. You can tell it to preserve ownerships and permissions etc...

Also for most open source tools someone somewhere is likely to have developed a GUI front end for it. Often enough it will simply have the same name with a "g" prepended to it. So sure enough on doing a Google search for "grsync" I found the following page:
http://www.opbyte.it/grsync/
I haven't used grsync but it looks like it would fit your requirement.

By the way - you might want to explore "cron" usage. You could set a job that runs rsync automatically at a set interval (e.g. every hour) so you don't have to run it manually. Obviously it would depend on how often you expect files to update.

Linux has manual (and often info) pages for most utilities for most tools. You can type "man <command>" or "info <command>" to get more details of what they do and what flags and arguments they allow and/or require:
man rsync
man cron
man crontab
Finally if the man page for a given tool isn't on your system you can generally find it by typing "man <command>" in a Google search.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: File Synchronization with Unison LXer Syndicated Linux News 0 04-16-2008 03:20 PM
LXer: File Synchronization with Unison LXer Syndicated Linux News 0 04-14-2008 06:12 PM
file sync software m_a_b Linux - Software 4 03-09-2007 05:49 PM
Unison Setup FragInHell Linux - Software 0 02-21-2007 10:34 PM
File Sync software for USB thumbdrives edlentz Linux - Software 0 11-20-2004 09:15 AM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration