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

Re: [coldsync-hackers] archive/MemoDB -- how to restore as MemoDB.pdb?



On Tue, Jul 24, 2001 at 10:10:53PM -0400, Chris Shenton wrote:
> My Visor lost its mind and I accidentally did "coldsync" instead of
> "coldsync -r backup", so I overwrote my useful backup data.  Very
> bad. (Is there a way to protect against this?)

	Yes: upgrade to the latest version. You've been bitten by the
Bargle bug; the latest version makes it harder for this to happen (it
won't do a regular sync against a blank Palm).

> I see that under the "archive" dir are MemoDB, ToDoDB, etc, and a UNIX
> "strings" shows that they have fairly current data in them.  But I
> can't put them in the "install" dir and use "coldsync -I" -- it says
> the format's wrong. 
> 
> Is there a way to extract or convert the data into a PDB file which I
> can install?  What do these files do anyway?

	The good news is that yes, you can get your data back. The bad
news is that it's vastly less than perfect. Take a look at
http://www.ooblick.com/software/coldsync/archive2pdb . As the name
indicates, this is a script that converts an archive file to a PDB.
You can run this on the files in ~/.palm/archive to create PDBs that
you can then upload.
	Unfortunately, this is a rather rough tool: the PDBs you get
will contain every record you've ever deleted (though there's a
comment in the script saying how to select only those records that
were deleted in the last day). Lastly, IIRC there's a bug whereby
'archive2pdb' creates files named "Foo" rather than "Foo.pdb", so you
may want to make a backup of your ~/.palm/archive before doing this.

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com                      views of ooblick.com
		   Agnostic apathetic isolationist.
		 I don't know. I don't care. Go away.
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.