LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-20-2012, 03:44 PM   #1
kokoras63
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Rep: Reputation: Disabled
Synchronizing directories


Hi to all,

I am new to Linux and I have a question:
I have some folders in linux (UBUNTU 12.04) and I want to always be in sync with under the same name folders in my external USB disk (something like a "local Dropbox". Since it holds a lot of data, that does not change all of it at the same time, I need a type of incremental solution.
Any ideas?

Thank you in advance for your time.
 
Old 10-20-2012, 03:55 PM   #2
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,958

Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
i think this is what rsync is for. else, you can probably script something using find and cp.
 
1 members found this post helpful.
Old 10-20-2012, 05:32 PM   #3
seeberg
LQ Newbie
 
Registered: Sep 2010
Posts: 14

Rep: Reputation: 3
And if you would like a GUI to help you out have a look at backupninja
 
Old 10-21-2012, 04:44 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
I've always been partial to unison.

http://www.cis.upenn.edu/~bcpierce/unison/
 
1 members found this post helpful.
Old 10-25-2012, 03:31 AM   #5
kokoras63
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Re: Synchronizing directories

Thank you guys.
It seem that Unison is more close to what I want.
One question though. Does it create readable backups (ie copies) or some other format (compressed etc)
so they need to be restored to be read? For example after syncronization in Linux to an external USB hard disk, can I take afterwards the hard disk to a windows system and read the files from the regular windows file manager?

Thanx a lot.
 
Old 10-25-2012, 12:32 PM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
All unison does by default is ensure that the two directories have identical contents. Changes made in either directory are propagated to the other, and conflicts can be handled in a couple of different ways. There's also a system for backing up replaced files to a third location, I believe, but I haven't done anything with it personally.

It has an extensive documentation page, and I recommend taking the time to read it thoroughly.
 
Old 10-28-2012, 08:57 AM   #7
kokoras63
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Re: synchronizining directories

Thank you very much David for your clarifications

All the best,
kokoras63
 
  


Reply

Tags
directories, externalharddrive, synchronization, usb


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
Synchronizing 2 servers bucovaina78 Linux - Server 4 09-07-2010 05:20 AM
synchronizing a centos repository nayabingi Linux - Software 2 03-20-2008 12:44 PM
Synchronizing folders aenahel Linux - Server 4 06-15-2007 10:52 PM
Need a program recommendation for synchronizing/cloning directories over network Old_Fogie Linux - Software 2 05-09-2006 10:11 PM
Synchronizing time depam Linux - Software 2 10-10-2005 06:11 AM


All times are GMT -5. The time now is 12:15 PM.

Main Menu
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