What to do with contacts.db
Dear forum, having an Xperia X and running SailfishX on it, I am still wondering for what would be an easy way to get my old contacts, out of a contacts.db file.
There is this question: https://together.jolla.com/question/...to-do-with-it/ I still did not manage to make it work. Is there any workaround to export the contacts as vcf files, from the db file? Then, import. Thank you for any hints, Nikos |
Re: What to do with contacts.db
Quote:
|
Re: What to do with contacts.db
Quote:
However, you mean I can import/upload the db file in Google's contact-whatever the service is? I really have only this db file. It's from a Jolla 1. Worst case, to avoid going manually over all contacts: shouldn't it be scriptable to read the db, export as csv, format properly then as vcf? |
Re: What to do with contacts.db
From reading the link it's an sqlite database so you can do with that as you please, including opening it using the sqlite command on a computer and exporting to CSV.
Edit: Had a look - this file handles way more than just contacts as its name suggests! What part(s) are you trying to keep? |
Re: What to do with contacts.db
The easiest option is to create a backup from your old device and restore it in the new one.
Another option is to unzip the backup file and extract /People/data/all.vcf which then can be imported into the new device. contacts.db lives in /home/nemo/.local/share/system/Contacts/qtcontacts-sqlite directory but I suspect it will not run directly in another device. |
Re: What to do with contacts.db
Quote:
|
Re: What to do with contacts.db
Quote:
|
Re: What to do with contacts.db
So just names, numbers and e-mail addresses? That shouldn't be too hard to get out using some sql, though converting to vcf looks messy. I'll have a play tomorrow...
|
Re: What to do with contacts.db
Quote:
The key might be to copy the file whilst the services that would otherwise use it are not running. Which means in Recovery Mode. Then reboot and you are in the game. As I said, I have not tried it between devices but I find it hard to believe that it would be much different. |
Re: What to do with contacts.db
Quote:
It really worked flawlessly from nokia to nokia symbian, just lay both phone side by side, push the button and voilá new phone old contacts... should be possible to keep one's data across sailfish phone without having to use google, shouldn't it! |
All times are GMT. The time now is 06:23. |
vBulletin® Version 3.8.8