Backing up Contacts
#1
How do I back up my contacts? I looked into the app list on the Mobian Wiki but it does not have it listed. I plan on making a copy and sending it to my Desktop PC via mtp.
  Reply
#2
(08-26-2021, 06:32 PM)FOSSagent0 Wrote: How do I back up my contacts? I looked into the app list on the Mobian Wiki but it does not have it listed. I plan on making a copy and sending it to my Desktop PC via mtp.

The contacts are stored in an Evolution database file. Back up ~/.local/share/evolution/addressbook/system/contacts.db. I thought though that mtp was no longer working in Mobian. (I usually use scp or sshfs to transfer files.)
  Reply
#3
As per @Zebulon Walton for the actual location of the database.

I use rsync from my RockPro64 to maintain a copy of my complete PinePhone home directory on my PC disk: the phone is plugged in most times when I am on the PC to provide internet via tethering so simple to run regular "backups".
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.16 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/Phosh on eMMC, Arch/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs screen & USB board replaced
  Reply
#4
(08-26-2021, 08:53 PM)Zebulon Walton Wrote:
(08-26-2021, 06:32 PM)FOSSagent0 Wrote: How do I back up my contacts? I looked into the app list on the Mobian Wiki but it does not have it listed. I plan on making a copy and sending it to my Desktop PC via mtp.

The contacts are stored in an Evolution database file. Back up ~/.local/share/evolution/addressbook/system/contacts.db. I thought though that mtp was no longer working in Mobian. (I usually use scp or sshfs to transfer files.)
I attempted to get mtp working and well I give up on it right now, in fact I just find  my Pinephone not suitable for daily driver material.
  Reply
#5
(09-02-2021, 11:22 AM)FOSSagent0 Wrote:
(08-26-2021, 08:53 PM)Zebulon Walton Wrote:
(08-26-2021, 06:32 PM)FOSSagent0 Wrote: How do I back up my contacts? I looked into the app list on the Mobian Wiki but it does not have it listed. I plan on making a copy and sending it to my Desktop PC via mtp.

The contacts are stored in an Evolution database file. Back up ~/.local/share/evolution/addressbook/system/contacts.db. I thought though that mtp was no longer working in Mobian. (I usually use scp or sshfs to transfer files.)
I attempted to get mtp working and well I give up on it right now, in fact I just find  my Pinephone not suitable for daily driver material.

I've used FileZilla to transfer info instead of MTP. It certainly isn't as fast but I'm sure your DB is fairly small so it would probably only take a few seconds.
  Reply
#6
After experiments with Vdirsyncer, Syncthing and Nexcloud, I opted for a rather straightforward method:

On my laptop I have bookmarked the directories

sftp://mobian@192.168.0.98/home/mobian/.local/share/evolution/addressbook/system

and

/home/anna/.local/share/evolution/addressbook/system

in order to simply drag the file contacts.db from one directory to the other.
  Reply
#7
How can I import this database file on another system? Just placing it in the specified directory didn't do anything. I need to import my contacts on another device.
  Reply
#8
(10-28-2021, 06:44 AM)beta-user Wrote: How can I import this database file on another system? Just placing it in the specified directory didn't do anything. I need to import my contacts on another device.

You can install Evolution and export your contacts from there as VCF, then import them anywhere else.
  Reply
#9
Thanks, that worked!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Synchronizing: How do you sync / synchronize Calendar and Contacts with your desktop? Anna 15 5,189 11-04-2021, 03:54 AM
Last Post: Maus
  Add contacts with VCF files Bouc 12 8,727 05-01-2021, 03:22 PM
Last Post: Be.
  gnome-contacts not showing call nor sms button cafe 2 1,101 02-11-2021, 01:31 AM
Last Post: cafe
  how to import contacts from sim cards cybercow 7 3,521 12-06-2020, 01:14 PM
Last Post: cybercow

Forum Jump:


Users browsing this thread: 1 Guest(s)