LinuxQuestions.org
Help answer threads with 0 replies.
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 07-13-2008, 05: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, 05: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, 12:39 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply

Tags
backup, rsync, sync



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

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

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration