mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

Where is the contacts.vcf stored? #98

Open Klaasstap opened 5 months ago

Klaasstap commented 5 months ago

Device info

<Samsung Galaxy A5 2017> Manufacturer: Android version: 11 Custom ROM/rooted? /e/OS, not rooted Model:

System info

<Linux, Ubuntu 22.04.3 LTS> Available disk space: 370 Gb Operating system:


The Companion app is working and exports the data, including the contacts. But in the zipped archive I cannot find the csv-file. I found something with 'contacts' in the name, but it's 0 byte. By coincidence I found a contacts file in a temporarily folder called computer/tmp/pid-5807. Is this the file that the Companion app has saved for me?

Restoring the contacts didn´t work previously for me, also. But I haven´t tried it this time, because it wasn´t needed.

Thanks for the good work, man!

mrrfv commented 5 months ago

That's weird. Contact .vcf files (there's one file per contact) are copied from your device directly to a ./backup-tmp/Contacts folder - so they should be in the zipped archive.

Can you see the .vcf files in a folder called open-android-backup-temp in your phone's internal storage (right after you clicked the "Export Data" button, but before you notified the script of the export by pressing Enter)? If so, then the issue is caused by the bash script and I'd need logs to debug this.

Klaasstap commented 3 weeks ago

Hi there,

In the beginning of this year I contacted you about the the above. Today I performed the script of Open Android Backup, but my contacts didn´t show up in my internal storage, in the directory Open-android-backup-temp. The directory is there, but I only see my sms messages as .csv and my call logs as .csv. I checked this before pressing enter in my terminal to proceed as you asked.

This is what I read in the terminal about exporting the contacts: "Exporting contacts (as vCard), call logs as well as SMS messages (as CSV). 16,0KiB 0:00:00 [ 459KiB/s] [<=> ] mv: Cannot retrieve status of ‘./backup-tmp/open-android-backup-temp/open-android-backup-contact*.vcf’: File or folder does not exist" (Well actually, it's true that this exact folder doesn´t exist on my phone, only 'open-android-backup-temp'. But maybe this is just the way the program refers to the .vcf files).

Last time I asked you about this, I discovered that my contacts were divided in two 'accounts': one with my standard large number of contacts and one for another. I deleted the latter and that way I kept only one list of contacts. This seems not to solve the problem of not saving my contacts.

I still don´t know why Open Android Backup can´t save my contacts.

I hope you can help me. (Of course, saving my contacts is as easy as doing the dishes, but it would be nice to use Open Android Backup and having the the program to do it for me).