Rsync will work, but assumes that you religiously do it before working on either machine. A better solution is to use something called mailsync. It does a 3-way comparison of specified mailfolders on each machine and a state file, and then makes them the same. For example, you delete a message on machine 1 and only several days later do you remember to mailsync with machine 2. Mailsync will pick this up and delete the message on machine 2 whereas rsync will work only if machine 1's files are the most recent (i.e., you haven't used mail on machine 2 in the interim).
OF COURSE THERE IS A DOWNSIDE: Mailsync wasn't designed for evolution--it works in a berkeley-mbox environment, and ignores the summary files. Every time I run it, evolution complains about the summary files the next time (or so) I run it. In addition, it doesn't deal with calendars/tasks at all. I've spoken with the folks in the opensync project and their suggestion is to write a plugin that would handle host-host (not host-PIM) syncs. IMHO, this would be very useful, as the number of people (like me) who work in a desktop/laptop dual environment can't be negligible. David On Mon, 2006-02-27 at 15:23 -0500, Victor Chudnovsky wrote: > On Mon, 2006-02-27 at 12:43 -0500, Matt Price wrote: > > Hi victor, > [snip] > > thanks so much for this. Two questions: > > -I'm not quite sure what the /some/path/** lines signify -- are they > > different from /some/path/* ? > This is in the rsync format-- check the rsync man page for details. In > short, * only matches until the next "/", whereas ** matches through any > number of nested directories. > > > -Is it necessary to stop/restart the evolution-data-server before & > > after synchronizing? If so, how do you do it (I can imagine a script > > that logs in remotely, executes a script on the remote server, logs > > out, then proceeds to sync)? > > I do it, and on both machines, just to be safe. I quit the evolution > windows, and then run: > evolution --force-shutdown > which seems to shut down the data server > > > Cheers, > > Victor > > _______________________________________________ > Evolution-list mailing list > Evolution-list@gnome.org > http://mail.gnome.org/mailman/listinfo/evolution-list _______________________________________________ Evolution-list mailing list Evolution-list@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-list