Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-13-2008, 05:57 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
Syncing two partitions on different systems (rsync?)

I'm not quite sure this message fits in this category, but I didn't know where else to post...

I'm trying to figure out what the best solution to keep two directories synced between two systems is and I thought that maybe rsync could be a good starting point. However, I don't exactly know how this might work.

I'll try to detail my situation and what I want to do below.

I've got two main computers with the following systems installed:
PC-1 OS: Windows XP HE, Ubuntu 8.04
PC-2 OS: Windows XP MCE, Ubuntu 8.04

The first one mainly runs Windows while the second almost only runs Ubuntu.

Both PCs have a dedicated partition where I store all my data. This partition uses the NTFS filesystem on one machine and FAT32 on the other.

I'd like to find a tool which runs on Linux and that let me keep the two partitions always synced. I usually work on PC-2 with Ubuntu whereas my wife works on PC-1 with Windows. Sometimes we work on the same files and I'd want the last version of each file to be saved on both machines.

I hope I have given enough information for you to answer: is rsync the right tool for me? How do I use it to achieve what I need to do?

Old 07-14-2008, 05:02 AM   #2
LQ Newbie
Registered: Jul 2008
Distribution: Gentoo / Debian
Posts: 16

Rep: Reputation: 0
Hi there!

Personally I've never used rsync, but if I'm not mistaken it can only be used in one direction to propagate changes from an server to an client. I bet this can be checkd with an quick google. Since you want to sync in two directions with newer files overwriting older ones i can suggest unison to you. It can be used to sync from one system to another and can be configured to be used with conflicting changes on both sides.

If you want to sync only text-files you can take a look at svn or cvs which has better support for files which are edited on both sides.

A third alternative is the use of an samba server which shares the filesystem between the two computers.

More then enough alternatives, it's up to u to learn a bit about all three of them and find out what suits u best.


Old 07-15-2008, 12:39 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.3
Posts: 17,548

Rep: Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423
Might also be worth ensuring both partitions have the same filesystem type.


backup, rsync, sync

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: Metasploit 3.0 doesn't pwn systems, black hats pwn systems LXer Syndicated Linux News 0 05-04-2007 09:01 PM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
missing "syncing file systems.." qtrob Linux - Software 1 07-15-2006 03:41 AM
creating partitions and file systems on Solaris 8 ashlesha Solaris / OpenSolaris 7 05-26-2005 01:38 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM > Forums > Linux Forums > Linux - Software

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

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