yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] dotfred:
I will take a look, honestly I didn't go into deep testing for appointments...

Cheers,

.Fred
[Windows Mobile Apps and Games] dotfred:
1. Can you be more specific on this topic

2. I suppose that this part is linked to point 1. I will think about this.

Cheers,

.Fred
[Windows Mobile Apps and Games] oldsap:
Thanks for the tip oh GREAT ONE ;)

@FRED thanks for this freeware.
[Windows Mobile Apps and Games] CWKJ:
Does that mean that,

1. PIM Backup from AKU3.x can be use in WM6?

2. PIM Backup from AKU2.x can be use in AKU3.x?

3. PIM Backup from WM5 can be use in WM6?

4. PIM Backup from WM2003SE can be use in WM6?

5. PIM Backup from WM2003SE can be use in WM5?

6. Any missed combinations?
[Windows Mobile Apps and Games] tux_tux:
Thanks for PIM backup..
[Windows Mobile Apps and Games] gunigugu:
Looks like a neat lil piece of software.

I'm looking to ug from Wm5 to WM6, but I don't want to retain any old useless data that may conflict with the new O.S.

Is is possible to only back-up & restore just the MMS? or is it all messages and email?

Thanks
[Windows Mobile Apps and Games] pharaoh:
Can I use this to backup non-Treo SMS and restore to Treo 750v?
[Windows Mobile Apps and Games] allynm:
This is most excellent, I have a few suggestions / questions:

- when backing up LARGE groups of data, it seems more effort goes to updating the list box than actually reading the data. (i switched to another application and came back to find it was going 2x when not having to refresh the list). also, the list slows considerably when passing 1000 entries for any particular type of data.

- the device (tytn) is allowed to power down during the backup - user has to keep hitting the screen to keep it alive.

- how does restoring work? is everything overwritten? are duplicate entries avoided? what if the restore is from a .pib that has been modified (multiple backups merged)? can several .pib files be restored with the end result of all data being merged on the device (say each covered a range of dates - no overlap)? what if there is overlap - do you end up with duplicates?

- is there some way to take a pim.vol (on the pc) and convert it to a .pib?

i'm trying to figure out how to merge the incremental backups i've made with SPB during each of my ROM upgrades. i've used SpbBackupUnpack.exe to extract the SPB images on the pc, and there are some txt files within the /Databases/cemail.vol folder of the extracted backup, but these are not .csv files, and there appears to be no easy method to convert them over.

i do have the pim.vol from each backup, but i've had no luck attempting to overwrite the existing one with the old one (in an attempt to then make a .pib within the device).
[Windows Mobile Apps and Games] borjok536:
sms restore problem

I'm using BlueAngel wm5 aku 3.5, here is the error message that promps when I try to restore my message backup, "Error csv bad record" "bad record found at line 17"...
[Windows Mobile Apps and Games] jcespi2005:
thanks for the tool, very usefull.
[Windows Mobile Apps and Games] dotfred:
It should work indeed. I don't have a WM2003SE device, only the emulator.

So I've tested only a part of these combinations.

Don't forget that in WM2003SE, the picture is not stored.

You are here guys to test those functionalities!;)

Cheers,

.Fred
[Windows Mobile Apps and Games] dotfred:
Hi borjok536,

Don't worry about the version, it is nothing to do with your problem.

I developed a CSV parser, and it's surely not perfect. This error means, that at line 17, the parser found a mismatch and couldn't retrieve the record with all its fields.

Here is the layout of the messages csv file:

Msg Id;Sender Name;Sender Address;Sender AddressType;Prefix;Subject;Body;BodyType;Folder;Account;Msg Class;Content Length;Msg Size;Msg Flags;Msg Status;Modify Time;Delivery Time;Recipient Nbr;Recipients;Attachment Nbr;Attachments

If a field contains a [CR], a [LF], a [CRLF], a [;], a [,], a["], it will be stored between double quotes.

For instance:

"Hello James,
How are you?

Did you get my message?";""Fred" <+12345678>";

Here the parser will find 2 fields and will keep them like this:

Field 1:

Hello James,
How are you?

Did you get my message?

Field 2:

"Fred" <+12345678>

Cheers,

.Fred
[Windows Mobile Apps and Games] borjok536:
sorry dnt get it...

can this be fixed in the next version? thanks for creating this software for us.....
[Windows Mobile Apps and Games] bluecream4:
Hi Fred ,

WowW 。_・.。Version 1.8 .. Many Update from you, I love it.

Do you take a break ? Kidding .. I see you 're working All all time .. ((*・ェ・*)ノ~☆*

Take Care,

Nette。_・☆
[Windows Mobile Apps and Games] dominick_7:
Thanks Fred. If I open it in Excel, is it INSIDE of Excel that I convert it? Or do I just change the extension to .doc or something? Do you know of any PIM backups for the SMS Threaded App from XDAdevelopers?
[Windows Mobile Apps and Games] dominick_7:
Also wondering if the later versions after 1.5 are changed just because of WM6 (which I don't use, as I use WM5 unless someone can hack it for the Samsung i730) or because it's improved in some sense? Thank you.

Dominick
[Windows Mobile Apps and Games] dotfred:
Hi Nette,

Well, I don't like unfinished business, and I had a lot of trouble lately with PIM Backup.:mad: This tool is just a nightmare. I will be glad when it will work correctly for everybody! Eheheh let's dream!:o

Anyway, thanks for support!

Big

Fred
[Windows Mobile Apps and Games] dotfred:
Hi dominick,

If you follow exactly what is mentioned in the post, it will work

1) Open .pib with Winzip and extract .csm file

2) rename .csm to .csv

3) Launch Excel, click on file open and select your just renamed .csv file

4) A wizard will show up and just follow the instructions

Hope it's clear! ;)

Cheers,

Fred
[Windows Mobile Apps and Games] dotfred:
Well I had to improve the restore because in versions previous to 1.5, all the records of each csv file were retrieved at once.

Well the problem in such scenario is that if you have thousands of records, you can end with not enough memory to do the job, so the ppc will swap to gain memory in order to do the restore, but then it will really slow down the device which is not good.

Now, the csv file is read twice, first just to find out how many records are stored, then again to retrieve each record one at the time. It's a little bit faster but not much.

The biggest issue is storing data in the database.

For contacts:

- picture and notes/notes ink restore is very slow (wm5 ->)

For appointments:

- notes/notes ink restore is very slow

For call logs:

- slow under wm6 only. The phone application recreates the links between calls and contacts

For tasks:

- same as appointments

For speed dials:

- slow under wm6 only. Had to use another solution to create them by using xml config strings.

For messages:

- always slow, takes more place in memory, body, attachments, recipients, cemapi api is not ideal but it's the only solution.

Cheers,

Fred.
[Windows Mobile Apps and Games] jcute:
Thanks for update ^_^
[Windows Mobile Apps and Games] allynm:
Side note / possible workaround:

Putting the call logs restore last in the restoration order should take care of this.

Note: It has to occur after the contacts restore (since cprog will need the contacts to properly re-associate the numbers).
[Windows Mobile Apps and Games] allynm:
I tried re-restoring the previous messages (that would not completely restore because of the prior bug). Good news is that 165 of 165 were restored. Bad news is that _all_ of them were restored (i.e. most were duped).

Note to other users - if doing what I was attempting, do a FULL backup with 1.8 prior to trying to restore any previous backups for purposes of merging data.
[Windows Mobile Apps and Games] c_shekhar:
No no the call log can work independent of contact data..
[Windows Mobile Apps and Games] allynm:
Sure it can, but under WM6, will restored contacts automatically be recognized and updated? I believe this only works properly if it is the calls that are deleted and re-created.
[Windows Mobile Apps and Games] jib44:
It works!! Even on my WM2003 Himalaya. Bravo
[Windows Mobile Apps and Games] dotfred:
Hi Al,

Thanks for the tip, it's in fact a good idea, I already did it for the contacts, it is always the first thing restored, now I have to do the same for call logs.

Well, it's a small feature, and only for wm6, so it can wait next release.

Cheers,

Fred
[Windows Mobile Apps and Games] daxliniere:
Yes, Bravo DotFred!
[Windows Mobile Apps and Games] Sam Trevi:
Hi there, I tried your fantastic tool just now and saw that the backup file is written in some kind of csv format or something.

Is there a way to edit this file to add some old sms that I have copied in an txt file?

Thanks anyways
[Windows Mobile Apps and Games] daxliniere:
yeah! That would be fantastic!

I can export my SMSs from my old phone (motorola A1000) and I would LOVE to import them to my Hermes!

What say ye, Fredeth the Wise?
[Windows Mobile Apps and Games] dotfred:
I think it shouldn't be a problem, you just have to respect the layout and the number of fields.

Here are the fields:

Msg Id;Sender Name;Sender Address;Sender AddressType;Prefix;Subject;Body;BodyType;Folder;Account;Msg Class;Content Length;Msg Size;Msg Flags;Msg Status;Modify Time;Delivery Time;Recipient Nbr;Recipients;Attachment Nbr;Attachments

MsgId: "0x00,0x00"

Sender Name:VAL

Sender Address: "VAL" <XXXXXXXXX>

Sender Address Type: can be null

Prefix: can be null

Subject: Happy birthday

Body: can be null

BodyType: 0 = text, 1 = binary (always text for sms, except for vcard, it is binary)

Folder: \Inbox

Account: SMS

Msg Class: IPM.SMStext

Content Length: 0

Msg Size: XXX

Msg Flags: 1 I don't know by heart the values

Msg Status: 0 I don't know by heart the values

Modify Time: YYYY,MM,DD,HH,mm,SS

Delivery Time: YYYY,MM,DD,HH,mm,SS

Recipient Nbr: 0

Recipients: can be null

Attachment Nbr: 0

Attachments: can be null

All together:

"0x00,0x00";VAL;""VAL" <XXXXXXXXX>";;;"Happy birthday";;0;\Inbox;SMS;IPM.SMStext;0;28;1;0;"2007,03,14,14,55,01";"2006,12,10,11,37,29";0;;0;

Caution, this is a sample for SMS only, for mails, some fields are necessary like recipients
[Windows Mobile Apps and Games] Sam Trevi:
I've tried to copy & paste your example in a plain text file, renamed with the correct extension and PPC Pim Backup says it's not a valid file, i've also tried to edit simply one letter of a previous .pib file and when I try to restore from it the application says "CSV file error" - Error 2

Where am I wrong?
[Windows Mobile Apps and Games] gunigugu:
Hi quick question...

Was backing up all the stuff on my phone getting ready for a nice big re-flash to wm6... Anyway was testing the back-up of MMS (haven't flashed yet) and well, no attachments :p

I did make a back-up pim.vol however, with this is there anyway I can restore the MMS, so I can at least save some of attachments on the sd card before I flash my phone??

Thanks for any help and the this utility looks like it's coming along quite well, although really wish it had support for mms attachments...
[Windows Mobile Apps and Games] dotfred:
It works,

I did the same and no problem:
[Windows Mobile Apps and Games] dotfred:
All I know, is if you're using Arcsoft MMS, the files are stored in my documents, and have extension .dat

For the rest, I couldn't find the relation between the mms and the files

So copy all .dat files and it should work, I hope.
[Windows Mobile Apps and Games] Sam Trevi:
Simply perfect! I had to change some names because of the italian localization of my pocket PC but now all works well!

Thanks!
[Windows Mobile Apps and Games] gunigugu:
Thanks... but umm.. as per my original post, I've already back-ed up and restored using this program... and now none of my mms's have any of their attachments.. they all appear in their correct folder but opening them up opens a blank mms....

Is there anyway I can revert to how they were originally? I did make a back-up of pim.vol?
[Windows Mobile Apps and Games] xavier_soares:
Congratulations, I use frequently this program and I love this... Excellent! VERY THANKS
[Windows Mobile Apps and Games] dotfred:
As I already mentioned, the mms is correct, but the "attachments" of mms files are not stored in pim.vol but in .dat files stored in the \My Documents directory. Because I don't know how to retrieve that information from the mms message, I do not know where these files are or which files I need to store.

I hope it will be possible in future release.

ps.: if you saved the files stored in \My Documents, and restored them there then you should be able to see the contents of your mms.

Cheers,

Fred
[Windows Mobile Apps and Games] jcespi2005:
Then, if i'm not wrong, your great program can add .dat file from \My Documents to the backup in the last possition, and the restore would be possible from the same....

Thanks for this great soft :)

Regards.
[Windows Mobile Apps and Games] daxliniere:
Yeah, just save ALL .dat files found in that location. It doesn't matter if you get a few extras, at least all your MMSs will be saved.

Thanks Fred!
[Windows Mobile Apps and Games] dotfred:
Yes, the problem is that .dat files are used by ArcSoft MMS, but I don't know for other mms softs. They could be stored in \My Documents, but possibly on the Storage Card. So I don't know, it needs some investigation.

Cheers,

Fred
[Windows Mobile Apps and Games] jcespi2005:
Yes, you are right. More than one soft make difficult doing backup.

But for starting stage, like ArcSoft is one of the most used MMS soft, will be great to do backup of .DAT for this soft.

Wath do you think about?

Thanks for your time :)

Regards.
[Windows Mobile Apps and Games] gunigugu:
Thanks fred for the replies.

Quick follow up though. Does your back up/restore function mess with these files in anyway? Because I did just that, back-up and restore on the same device at the same time, however my mms now appear blank. I never once backed up *.dat in mydocuments. Are my MMS now gone for good?

It's ok, because it was a reckless act on my behalf and I will be disappointed, but I do want to just flash my phone already too, so if they're gone, I will move on, but if there is a way to restore them, that would be great.

So have they been affected now by your program?
[Windows Mobile Apps and Games] veer0318:
Hi!

Got a problem. After making a nice backup on my old WM2003 Qtek 2020, which all went just fine, I can't import it on my new wm2005 HTC 9100. It can read the archive all right. It even says something like "1400 messages found in file". But none of them are imported (they aren't in the directory and it says "0 imported in file").

I think the problem is because I made a backup on an English version of WN and tried to import it on a Dutch version. I tried everything I could think of: reproducing the directory structure of the SMS inbox; manually editing the backup file replacing the English names with the Dutch ones - but without effect!

Can anyone help me pleeease? :)
[Windows Mobile Apps and Games] dotfred:
Well, normally it should work without any problem. Anyway, send you an sms, then use Pim Backup to create a backup, then check the differences with your old backup file, and try to figure out/correct what went wrong.

If you don't succeed, well you could still send me your backup file, or a substract, even by modifying data, it doesn't matter at this address dotfred@dotfred.net

Cheers,

Fred
[Windows Mobile Apps and Games] drooch:
What Happened?????

i just backed up my phone on black 2.5 and upgraded to black 3.0

when i installed the PIM backup and restored the file ive lost all my messages since 14/01/2007, thats over 600 messages.

What happened? all the backups completed succesfully

im not happy at all...

drooch
[Windows Mobile Apps and Games] dotfred:
Hi drooch,

Can you give more infos on this, because it's a little bit vague.

What kind of messages were not restored, which version of the tool, how many messages detected in the backup?

Thanks,

Fred
[Windows Mobile Apps and Games] drooch:
i am talking about text messages, i had around the 800 mark but only 160ish were restored and the backup didnt copy anything newer (in terms of Text messages) than 14/01/07 . i was using the version that came bundled with Black 2.5 to backup and i was using version 1.8 to restore.

ive been able to use Jeyo SMS backup to restore a previous backup, just means i lose 100 messages and not 700 messages!

the phone im using is a Dopod 838pro with Black 3

drooch
[Windows Mobile Apps and Games] dotfred:
Hi drooch,

Is it possible to have the backup in order to investigate, I made a lot of tests with version 1.8, with messages in russian, in chinese, restores that didn't go well in the past and they were restored without any problem.

You can send the backup here dotfred@dotfred.net, but only if you want me to get them back.

Cheers,

Fred
[Windows Mobile Apps and Games] Tibbles:
Hi, I'm having the following issue with your program. I'm already very happy that it was able to copy all of my calling history, but with sms and mms messages it's having a bit more trouble.

I made a backup on my old HTC Magician (2003) of all of my messages using PIM Backup 1.8 (2003 version).

I copied the backup files and PIM Backup 1.8 to my new HTC Artemis (WM5).

Now when I run restore it simply says this (relevant excepts):

Analyzing file structure (takes a minute)

# records found

Connection to Outlook. (why it tries to connect to outlook is a big question for me)

Insterting messages in the database (takes a little less than 3 minutes)

0 messages inserted in the database (NOO! Should be over 3000!)

0 message not inserted cos exists in the database

Disconnecting from Outlook

Restore ended successfully (well, not really)

Any idea how I can solve this? I'd REALLY REALLY like me smsses to be on my new phone as well :-) I'd be ever grateful.
[Windows Mobile Apps and Games] dotfred:
Hi Tibbles,

Well, it is indeed strange. Ok, you can try something! First of all just create a backup of an sms from your Artemis. Extract both .csm files from .pib (with winzip) Check the difference you have between sms from wm2003 and wm2005, because there is maybe something different.

I will complete my answer later today or tomorrow, because I have a meeting now and I have to leave

Cheers,

Fred
[Windows Mobile Apps and Games] Tibbles:
The columns on my Artemis and Magician are identical, there is however a BIG difference in foldernames (my Magician having an English Rom and the Artemis a Dutch one). I guess I'm going to have to replace all the folder names in my back-up file and then re-pack it to a pib file and run the restore again. Could you tell me what zip/rar/tar.gz technique you've used from .csm to .pib? That would probably solve this problem. Thanks in advance! You've been a big help!

Niko
[Windows Mobile Apps and Games] dotfred:
Hi Niko,

I'm glad it is not the application but a problem of language. I hope you will be able to modify the contents of .csm and be able to restore your backup.

For the restore, you don't have to recreate a .pib file. You can let your .csm file, it is recognized by PIM Backup, and is selectable when you browse for files when restoring. You can even select directly the .csm file, because this extension is associated to Pim Backup application. Anyway, if you still want to recreate the .pib file, just use any zip application (NOT tar/rar/gz) and rename the file as .pib.

Best regards,

Fred
[Windows Mobile Apps and Games] Garcia:
Problem with reoccuring appointments

Hi I have a problem with your application, I've used 1.5 and upgraded to 1.8 and things is getting worse.

Both versions seems to work OK, but all reoccuring all day appointments will after restoring end a day before they start.

If an appointment is on the 10th of May every year and is all day then after restoring it will start on the 10th of May but end on the 9th of May, and therefore looking at it and clicking OK will result in windows saying cannot save, so you have to edit first by changing to happen once and then change end day and then change every 10th May.

In version 1.8 you also introduced alarm for all appointments after a restore, at least that didn't happen in version 1.5 which I used before.

Appart from these issues I think it's a real great application.

With regard to some of the comments in this thread then I also experienced that with Black 3.0 it diden't restore all items, but then back to Black 2.5 and things were back to normal again.
[Windows Mobile Apps and Games] Tibbles:
Well.. I replaced all the folder names and now it's been 'inserting messages in the database' for about fifteen minutes. Since just now the progress bar added one block I'm just going to sit it out. If this works I'm going to be extatic!
[Windows Mobile Apps and Games] Tibbles:
It completely froze after three and a half hours, had to soft-reset... gah. It put back 439 items at least.

Jeyo Mobile Extender did all of the work in about 30 minutes :-S (though I had to mark all 3000 items to 'read' manually again... great)

Conclusion: PimBackup is great for calling records! :-D
[Windows Mobile Apps and Games] MrFreeze:
nice tool - thx - on P3600 german
[Windows Mobile Apps and Games] apd:
Importing SMS messages from csv file

dotfred

This is a great piece of software - use it all the time to back up my SMSs. I wonder if I can stretch its use a bit!?

I need to move some SMSs from a Symbian 60 phone to my Uni and Ameo. I can export the messages from the S60 to a CSV which has fields with the time, date, phone number and message. I can't find any other way of importing these to WM5 so I wondered if I could somehow import them into a .pib file and then use Restore on PIM backup to 'restore' them to WM5?
[Windows Mobile Apps and Games] dotfred:
Hi Andrew,

I think it is possible to do so, but you will have to adapt the csv file to have the same layout of the csm file.

Each field is more or less explained here: http://xdaforums.com/showpost.php?p=1237914

I hope it will work.

Cheers,

Fred

ps.: don't forget to add a carriage return after the last record, otherwise you will end with a CSV_BAD_RECORD error.
[Windows Mobile Apps and Games] apd:
You're a star, thanks.
[Windows Mobile Apps and Games] dny238:
What's the trick to backing these files up. When I try to copy them they are in use.
[Windows Mobile Apps and Games] CWKJ:
@DotFred

One minor feedback. After backup, in the directory \Windows\Messgaging\ & \Windows\Messgaging\Attachment\ , there is many zero byte files created which I now delete it myself. They took up a little memory.
[Windows Mobile Apps and Games] dotfred:
Thanks for the info, I've just noticed myself, I don't know where they are coming from, anyway I will add a cleaning functionality after backup is done.

Cheers,

Fred
[Windows Mobile Apps and Games] appleJuice:
To: dotfred

I think I figured out why PIM Backup won't work on some WM2003 devices.

I don't think it can open the mail database, i tried smsOrganizer and it also doesn't work with "CeOpenDatabase failed".

Do you have any idea why this might be?
[Windows Mobile Apps and Games] dotfred:
Maybe there is a limitation in the number of database "connections", just a guess, I don't know...

EDB is an updated and enhanced version of CEDB. EDB replaces CEDB in Windows Mobile 5.0 and includes support for:

Transactions

Access by multiple users

Multiple sort orders, key properties, and databases

Enhanced performance, especially on user store devices with larger databases

So I assume that this could be the problem, too many applications accessing the DB and so another call to CeOpenDatabase fails.

It could also be some security policies installed by a provider.

Cheers,

Fred
[Windows Mobile Apps and Games] natzakaria:
Restore tasks dont work - shows as corrupted data.
[Windows Mobile Apps and Games] CWKJ:
Err... Please take care do not delete the valid emails/files there. Just delete those with zero bytes.