LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-13-2008, 06:57 PM   #1
alk77
LQ Newbie
 
Registered: Nov 2007
Posts: 12

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


Hello,
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?

Thanks.
A.
 
Old 07-14-2008, 06:02 AM   #2
flandou
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.

greetz,

Henry
 
Old 07-15-2008, 01:39 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

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


Reply

Tags
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 10:01 PM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 01:10 PM
missing "syncing file systems.." qtrob Linux - Software 1 07-15-2006 04:41 AM
creating partitions and file systems on Solaris 8 ashlesha Solaris / OpenSolaris 7 05-26-2005 02:38 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM


All times are GMT -5. The time now is 08:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration