[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] last backup time



On Sun, Nov 18, 2001 at 03:02:31PM +0100, Alessandro Zummo wrote:
>  I'm writing a conduit to syncronize an SQL database.
> 
>  Actually i check every record and i transfer it to the Palm if it's
> modification time is greater that the last succesful sync time of the
> database on the Palm.
> 
>  The question is: how realiable is this method? Should i embedd
> a timestamp within every single record?

	I think that's safe enough for most uses. The main thing to
watch out for is time zones: early versions of PalmOS had no concept
of time zone. I think newer versions are more intelligent, but I
haven't looked into this. So if your Palm is set to the same time zone
as the database, then you should be okay. If not, I don't know. Try it
and see.

	However, there's another problem: I'm not sure ColdSync
updates the backup time on databases. At least, most of the databases
in my current test and real .palm*/backup directories appear to have a
backup time of 0. I'm not sure whether this broke at some point, or
what.

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com                      views of ooblick.com
		Fundamentalism stops a thinking mind.
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.