Results 1 to 16 of 16

Thread: Hexus brainbods I need your help!

  1. #1
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Hexus brainbods I need your help!

    Afternoon all,
    Got a bit of a conundrum I could do with a hand solving.

    My home network is set up like this:

    Win XP machine - Windows 7 laptop - Ubuntu machine
    All linked to a ubuntu server.


    I'm seeing massive repetition in files lately, and I want to consolidate and removing any duplicates.

    Basically all the clients have 3 folders which should be the same on each machine > Work > Pictures > Band.

    I'd like these to work like dropbox - the SVN isn't needed but the ability to host these locally and on the server and to intersync would be amazing.

    Does anyone know of anything that would work like this?

    Cheers!

  2. #2
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable

    Re: Hexus brainbods I need your help!

    Stash everything on your Ubuntu server, and make the folders you want available offline so you can work with local copies (at least on your laptop). The Ubuntu machine can mount the remote /home natively with NFS. Getting the XP machine to use the Ubuntu server for hosting your user profile may be a bit trickier, if you wanted to do that.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  3. Received thanks from:

    Bazzlad (02-07-2009)

  4. #3
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Re: Hexus brainbods I need your help!

    Cheers, to clarify further - everything is hardwired, and this is purely for internal use.

    I've got them mounted, shared and readable/writable through samba - it's the syncing I can't manage!

  5. #4
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    385 times in 314 posts

    Re: Hexus brainbods I need your help!

    could use rsync ?
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  6. #5
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Re: Hexus brainbods I need your help!

    r-sync (to my knowledge) is one way -

    EG
    I could add photos to the XP machine - and it'll be synced with the server - but the laptop will never get those files.....

  7. #6
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by Bazzlad View Post
    r-sync (to my knowledge) is one way -

    EG
    I could add photos to the XP machine - and it'll be synced with the server - but the laptop will never get those files.....
    Then your knowledge is flawed.

  8. #7
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Re: Hexus brainbods I need your help!

    Care to elaborate on that? I thought Rsync is a mirroring tool, not a synchronisation tool.
    I'm sure I could make Rsync sync by running multiple instances from server and client, but that's not ideal....

  9. #8
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by Bazzlad View Post
    Care to elaborate on that? I thought Rsync is a mirroring tool, not a synchronisation tool.
    I'm sure I could make Rsync sync by running multiple instances from server and client, but that's not ideal....
    It can be used as a synchronisation tool, provided your configuration is sound. The thing you must understand however is that unlike a NAS solution that was previously suggested the data is not automaticly modified, which can cause problems if two people are editing the same file.

  10. Received thanks from:

    Bazzlad (03-07-2009)

  11. #9
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Hexus brainbods I need your help!

    I'm not clear in my own mind what it is you want to synchronise. If you have one central repository fotr the files (the server) you only ever edit those, from what ever machine you are working in (either over an NFS or SMB share) If you need to work away, just copy the file, work on it, and then copy it back - provided no-one else has worked on it in your absence. If tht is the case, you will need some form of version control (like CVS) - rsync and the like work at synchronising directories (it is a 'an intelligent copy' in a way) it doesn't synchronise different versions of the same file.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  12. #10
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by peterb View Post
    I'm not clear in my own mind what it is you want to synchronise. If you have one central repository fotr the files (the server) you only ever edit those, from what ever machine you are working in (either over an NFS or SMB share) If you need to work away, just copy the file, work on it, and then copy it back - provided no-one else has worked on it in your absence. If tht is the case, you will need some form of version control (like CVS) - rsync and the like work at synchronising directories (it is a 'an intelligent copy' in a way) it doesn't synchronise different versions of the same file.
    You're right, rsync doesn't do versioning, but what it does do is update the latest file. So if user A modifes a file then next rsync the server will be updated with that file, and the user B can have a look at the file user A modified next time he is synced the the server.

    Like I said, rsync can be used in this fashion but it would probably be better to use a NAS like setup.

  13. Received thanks from:

    Bazzlad (03-07-2009)

  14. #11
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Re: Hexus brainbods I need your help!

    Hey Peter, thanks for your reply -

    Basically, if I have an image in my picture folder (a good example), and I edit it on my desktop (local copy - I hate working through a network) I'd like that to sync to the server. And then when my wife opens that file on her laptop it'll be up to date on there too.

    Some form of CVS (subversion?) may be a good way of going about it.

    I've been reading a lot into Unison, it sounds absolutely perfect to me - the only problem being if I delete a picture on my folder, that delete would go onto the server and then on the laptop and delete it everywhere!

    Other than that it sounds perfect. I wonder if I can make it so that deletes only work one way - eg off the server. That would work I think...

  15. #12
    A Straw? And Fruit? Bazzlad's Avatar
    Join Date
    Jul 2003
    Location
    The Big Rhesus House Stourbridge
    Posts
    3,072
    Thanks
    90
    Thanked
    78 times in 44 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by nightkhaos View Post
    You're right, rsync doesn't do versioning, but what it does do is update the latest file. So if user A modifes a file then next rsync the server will be updated with that file, and the user B can have a look at the file user A modified next time he is synced the the server.

    Like I said, rsync can be used in this fashion but it would probably be better to use a NAS like setup.
    Hey NightKhaos, firstly - thanks for the help - I appreciate it.

    Buy "nas" like setup, I presume you're referring to working off a network mounted drive? That's not ideal, but it may be the only way

  16. #13
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by Bazzlad View Post
    Hey Peter, thanks for your reply -

    Basically, if I have an image in my picture folder (a good example), and I edit it on my desktop (local copy - I hate working through a network) I'd like that to sync to the server. And then when my wife opens that file on her laptop it'll be up to date on there too.

    Some form of CVS (subversion?) may be a good way of going about it.

    I've been reading a lot into Unison, it sounds absolutely perfect to me - the only problem being if I delete a picture on my folder, that delete would go onto the server and then on the laptop and delete it everywhere!

    Other than that it sounds perfect. I wonder if I can make it so that deletes only work one way - eg off the server. That would work I think...
    What I would recommend to fix the delete problem is to add a small program called rsnapshot to your server. This will create periodic (hourly, daily, monthly) backups of the section you are NASing/rsyncing.

  17. #14
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Hexus brainbods I need your help!

    Why do you hate working off a server? If you are locally connected, once you open the file, you are effectively working on a local copy anyway, and it is only the initail opening and saving that may be a bit slower. (I have just been editing a file on my server at home using a VPN connection to my router over a 3G bearer - opening and saving was slow ish, but actually updating the file once it was open on my laptop was no slower than if it was a locally stored file.)

    The real advantage of rsysnc is mass updating directories - for example I host a Wordpress CMS system. When that is upgraded, I download the upgrade to a download director and then use rsync to copy the files to the working directory - it only moves the files that are updated - and it also works across a network and also compresses the files. You can also run rsync as a server - rsyncd - (have a look at the rsync manuals) but I don't think that is what you are after.

    Unison sounds interesting though - I must look into that
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  18. #15
    Overclocking Since 1988 nightkhaos's Avatar
    Join Date
    Apr 2009
    Location
    Sydney, AU
    Posts
    1,415
    Thanks
    93
    Thanked
    127 times in 106 posts

    Re: Hexus brainbods I need your help!

    Quote Originally Posted by peterb View Post
    Why do you hate working off a server? If you are locally connected, once you open the file, you are effectively working on a local copy anyway, and it is only the initail opening and saving that may be a bit slower. (I have just been editing a file on my server at home using a VPN connection to my router over a 3G bearer - opening and saving was slow ish, but actually updating the file once it was open on my laptop was no slower than if it was a locally stored file.)

    The real advantage of rsysnc is mass updating directories - for example I host a Wordpress CMS system. When that is upgraded, I download the upgrade to a download director and then use rsync to copy the files to the working directory - it only moves the files that are updated - and it also works across a network and also compresses the files. You can also run rsync as a server - rsyncd - (have a look at the rsync manuals) but I don't think that is what you are after.

    Unison sounds interesting though - I must look into that
    I believe the issue is more to do with the laptop in his setup, within which the internet connection is not assured.

  19. #16
    Senior Member
    Join Date
    Aug 2005
    Posts
    334
    Thanks
    10
    Thanked
    12 times in 12 posts

    Re: Hexus brainbods I need your help!

    I have experimented with Rsync and Unison running across Windows & Linux.

    I have ended up buying a program called Beyond Compare (version 3 is both windows & linux) and will compare at the file or folder level...

    I find I need it for work (need to use Windows) probably more than Home (mainly Linux).

    It was worth coughing up the cash...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. So how big IS heXus then...?
    By BEANFro Elite in forum General Discussion
    Replies: 32
    Last Post: 10-04-2006, 10:38 AM
  2. Welcome to CeBit 2006 - HEXUS Style
    By MD in forum HEXUS News
    Replies: 0
    Last Post: 06-03-2006, 04:14 PM
  3. Replies: 278
    Last Post: 07-06-2005, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •