Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What I need is this:

1) choose some directories on one disk and have these directories mirrored on another disk automatically. For example: suppose I have a directory on diskA called /myFiles and the same directory on diskB. Now, every time I change something on diskA, the changes are echoed to diskB automatically. If I delete a file on diskA, the file is deleted from diskB and so one. A mirror.

Is there a way to have some deamon, service or whatever running on background that allows me to do that on Mac OS X Snow Leopard?

NOTE: I know about Time Machine and about rsync and other manual synchronization tools, but what I need is just some directories on one disk to another.

share|improve this question
    
What about synkron.sourceforge.net ? –  Pitto Mar 21 '11 at 21:13

2 Answers 2

up vote 0 down vote accepted

Rsync is just what you want, all you will find are rsync GUIs that are a lot less useful than the command line program you already have. Here are some guis - Arsync, backuplist+, dropsync, grsync, synctwofolders.

If Rsync isn't what you want, why?

Folder actions are a pretty easy thing to make, with limitations. You could use crontab every five minutes. Here's one such folder action.

share|improve this answer
    
can I make it run on the background or have a service that will fire it automatically and can it just copy what have changed as soon as the directory changes? I need something that is live. –  SpaceDog Mar 21 '11 at 21:04
    
@Mike See updated answer. –  tobylane Mar 22 '11 at 21:36

I know you said "directories", but here is a way to do it with disks. I have the following setup running:

  • Linux host A exports a local disk as iSCSI disk
  • Linux host B exports a local disk as iSCSI disk

(those two disks are the same size)

  • Mac OS X host mounts the two iSCSI disks with the GlobalSAN initiator, and I created a RAID1 volume on them.

Changes are written to both disks at once. The volume can be accessed when at least one iSCSI disk is present. Speed + latency is of course limited by the network.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.