On 08.10.2012 17:19:17, Patrick Ohly wrote:
On Mon, 2012-10-08 at 16:41 +0600, Ildar Mulyukov wrote:
$ syncevolution sync=?
[...]
   refresh/one-way-from-server/client are also supported. Their use is
   discouraged because the direction of the data transfer depends
   on the role of the local side (can be server or client), which is
   not always obvious.

em.. but sync-ui produces exactly sync=one-way-from-server . A bug?

In your config, "server" is the local side, because it's the SyncML
server. I know, this is confusing, which is why the values were renamed.

What you want is "one-way-from-remote".

Thanks a lot, it worked as expected.

> 1st time it was true: contacts were pulled to local files. Great.

Did you accept to do a slow sync?

Emm. Not sure, that was a couple of weeks ago.

That's the fallback when an incremental sync cannot be done. See my recent discussion with Lukas on the list about "one-way sync" and how "one-way-from-*" isn't really a permanent one-way setup.

The solution for that is the "local-cache" sync mode (implemented in the "pim" branch). The "local-cache" mode will keep a local copy of the data
in sync under all circumstances, including unexpected slow syncs.

> 2nd time after reboot and /tmp/Google_Contacts_backup_eas cleaned up I
> got most (131 of 135) of my contacts deleted. Sucks.
>
> The root reason for that must be the sync=two-way in target-config. Or
> maybe evolution-activesync misbehaved, I don't know.

No, the reason is elsewhere, see above.

Ok, thanks for help.

> I'm lucky Google has a tiny time-machine behind the "Restore contacts"
> command.

SyncEvolution also has a builtin backup mechanism that you could have
used. "I feel lucky" also works outside of Google.

I still can't find a note how to _restore_ from this backup.

Best regards,
--
Ildar Mulyukov,  free SW designer/programmer
================================================
email: [email protected]
blog: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to