LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-25-2015, 02:06 PM   #16
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308

Quote:
Originally Posted by upnort View Post
Thanks. I am aware of unison, and the version issue, but I have not looked very deep into using.
Ok, I think it's like exactly what you are looking for, so I'd say taking a look is definitely worth the time.
 
Old 06-25-2015, 03:45 PM   #17
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Is it possible to use unison on more then two computers?

Code:
$ man unison
...
       Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection  of  files
       and  directories  to be stored on different hosts (or different disks on the same host), modified separately,
       and then brought up to date by propagating the changes in each replica to the other.
...
 
Old 06-26-2015, 09:37 AM   #18
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by Sefyir View Post
Is it possible to use unison on more then two computers?

Code:
$ man unison
...
       Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection  of  files
       and  directories  to be stored on different hosts (or different disks on the same host), modified separately,
       and then brought up to date by propagating the changes in each replica to the other.
...
Yes. The easiest way to achieve this is using one of the computers as the "master" and have all others sync their data only with the master. This is what I referred to as "star setup" in a previous post.
 
1 members found this post helpful.
Old 06-27-2015, 05:14 PM   #19
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
I might have found a turnkey solution of sorts: nethserver. Based on CentOS 6.6. CentOS 7 base in the near future. Uses SoGo for calendar and contacts server, there is a third-party module for tiny tiny rss, fetchmail and dovecot already installed to retrieve my POP3 mail and host locally with IMAP, nice web browser interface for configurations. Looks like a great community for helping one another. I downloaded the ISO and need to tinker.

Anybody with comments or experience with nethserver?
 
Old 07-12-2015, 10:31 PM   #20
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
I stumbled across this and sounds like something the OP could use. "I want everything stored on my property under my control."
https://syncthing.net/

I'm curious if OP found a solution that worked for them however?
 
1 members found this post helpful.
Old 07-14-2015, 08:14 AM   #21
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
I'm curious if OP found a solution that worked for them however?
Life has gotten "in the way" the past many weeks, but I am still thinking about solutions and writing notes. As I mentioned in my previous post, I plan to look into nethserver. Much of what I want to do depends upon centralizing more than syncing. I will add syncthing to my list of candidates. Thanks.
 
Old 07-17-2015, 10:05 PM   #22
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Rep: Reputation: 18
There is a package on Debian called owncloud. It should go some way towards meeting upnort's needs.


Currently I an going through the installation process and will post again when (if?) I succeed, it might take a few days as time is limited.

I will be using a RaspberryPi with usb harddive as my cloud server. Currently I access the Pi with ssh and vnc. In the past have used samba and tablet/computers but not really very useful.
 
Old 07-24-2015, 02:13 AM   #23
xuhdev
LQ Newbie
 
Registered: Jun 2015
Distribution: CentOS,Debian,Ubuntu
Posts: 19

Rep: Reputation: Disabled
I would recommend syncthing as well.
 
Old 07-24-2015, 10:49 PM   #24
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Quote:
Originally Posted by xuhdev View Post
I would recommend syncthing as well.
Personal experience? I've yet to use it so curious how well it works.
 
Old 07-24-2015, 10:53 PM   #25
xuhdev
LQ Newbie
 
Registered: Jun 2015
Distribution: CentOS,Debian,Ubuntu
Posts: 19

Rep: Reputation: Disabled
Quote:
Originally Posted by Sefyir View Post
Personal experience? I've yet to use it so curious how well it works.
It works just like bittorrent sync, except that it is open source. The performance is much better than ownCloud according to my experience.
 
Old 07-24-2015, 10:56 PM   #26
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Rep: Reputation: 18
I haven't had much time to play but after two installs it is was working. When I tried today I cannot get to see the fies that are stored. While I can log in, it just doesn't show the files, used two pc's with same result. It didn't install owncloud quite where I wanted it (ny mistake -should read manual first) but was able to ssh into the RaspberryPi and change it with simlinks and also upload files directly with mc file manager. After that it worked as I wanted. I could upload/dowmload files *.pdf.

The two instals were because I already had a lighttpd server running which prevented owncloud from installing properly. Owncloud also wants Apache as its server, really too much for a RaspberryPi B+. It does say about using other servers and I found page on web that used Ngnix as server but that was for owncloud v7 not the current v8.

Conclusions.

Need to spend a lot of time with the manuals.

Not a lot different from using rsync and sshfs

It doesn't choke if a file with same name exists just apends -2
 
Old 07-25-2015, 10:39 AM   #27
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Based on nothing specific, I am leaning toward unison or syncthing as a primary tool to sync specific files.

I have been looking into owncloud. While my schedule right now limits me to researching and note taking, I am thinking owncloud might be overkill for my needs. I am leaning toward first testing radicale as my calendar and contacts server, but the radicale devs are clear that they do not strictly support the standards. I do not know if that is really important as long as I stick to one of the known compatible clients for maintaining the files.

Despite all the frenzy in the news about owncloud, I continually run into reviews by unsatisfied users. My use case is fairly simple so perhaps I should browse those reviews with charity.
 
Old 07-25-2015, 06:47 PM   #28
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
I've used unison since it being mentioned here for syncing up my media library. When I add or remove media, I run unison media and it updates it. If both sides have been altered, it'll ask which one I want to go with.

I have this as my .unison/media.prf

Code:
# Roots of the synchronization
    root = /Dir to local/media
    root = ssh://hostname//dir to remote/media
Apparently there's quite a bit of config you can do.
 
Old 08-07-2015, 11:36 PM   #29
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Rep: Reputation: 18
Short on time to go into things properly. If only they worked as supposed to my time would go further and would get more done.

I found reason I was not getting anything was that after rebooting the drive had not been mounted. Still strange things happening though.

On one computer using the raspi name brings up the owncloud log-in page but it won't allow me to log in. I have to put in the IP number and load lpg-in page then it works. On other computer and android tablet both work with the raspi name. Trying to change directory or up-load with the tablet is just about impossible.

In general it doesn't seem to easily sync up the three with raspi. Still have to read the whole manual which might help!!

Looking at unison it only syncs two machines, is that correct?
 
Old 11-19-2015, 09:50 PM   #30
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Been awhile and I finally got around to really doing this since I wanted to keep my desktop and laptop in sync.

I ended up going with syncthing and have a pretty nice setup which OP was probably looking for
First, I needed to centralize all my data I wanted synced to one folder, without having to modify any existing programs.
Second, this is going to work best with a always on computer/server with access to the internet.

To centralize, I grab directories/files for programs I wanted synced (like firefox, thunderbird, pidgin, liferea, etc) and I moved them all to a sync directory (eg ~/.sync)
Then, I symbolically linked them to their original location (ln -s ~/.sync/.thunderbird ~/.thunderbird) so the programs continued to act normally.

Then I added the devices, laptop and always-on server and shared ~/.sync. Then I repeated the above for the laptop.
Because the server is always on, there's always something to pull the latest updates to prevent conflicts. All three store .sync on a encrypted, restricted location as well.

Now I can switch from my desktop to my laptop and open it - all my emails and tabs are there!

Now, I have all the same software and OS on my laptop and desktop, different versions could make this method go bad.
But it's really nice. It takes a little while to figure it all out, but once setup it works smoothly!
 
  


Reply



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: Cloud 5: Hybrid cloud center stage, Microsoft cloud in a box, Red Hat CEO talks cloud LXer Syndicated Linux News 0 10-24-2014 09:42 AM
LXer: Cloud 5: GE all in on public cloud, IBM-SAP cloud partnership, Big data and the cloud LXer Syndicated Linux News 0 10-18-2014 04:41 AM
LXer: Cloud 5: Has cloud killed on-prem software, the enterprise cloud wars, and cloud computing and LXer Syndicated Linux News 0 08-22-2014 11:40 AM
Can cloud be used to combine multiple Computers ? vzxen Linux - Server 13 11-16-2011 09:08 AM
LXer: Cloud Computing: When Computers Really Do Rule LXer Syndicated Linux News 0 07-26-2008 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration