Active Topics

 


Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#11
What I did, and have been doing for a long time is I regularily rsync all my devices to my server. (Actually I do it nightly via cron but of course you can do it manually too whenever you desire...) Then, when I need to copy stuff from one device to another, I just do it on the server and rsync the changed /home/nemo directory back to the device it belongs to.

So, basically I have 3 different users for backup on my server, "jolla", "nexus" and "xperia". For each I have set up login via ssh keys, so I just need to do for example "rsync -av /home/nemo/ jolla@myserver.mydomain:/home/jolla/" on my Jolla sbj1 to backup it.
Then, to copy for example the contacts from Jolla to Xperia, I just copy content of /home/jolla/.local/share/system/Contacts/qtcontacts-sqlite/* and /home/jolla/.local/share/system/privileged/Contacts/qtcontacts-sqlite/* to the appropriate places under /home/xperia/ and do "rsync -av xperia@myserver.mydomain:/home/xperia/ /home/nemo/" on the Xperia...

One thing to remember; by default your nemo account does not have read/write access to the directories owned by the "priviliged" account. To go around this without needing to devel-su yourself you need to add the nemo user to the priviliged group.

This might be seen as a potential security weakening but the effects are negilible as long as you have strong password for ssh and always use automatic device locking to avoid people messing up with your device...
 

The Following 4 Users Say Thank You to juiceme For This Useful Post:
Posts: 22 | Thanked: 18 times | Joined on Oct 2012
#12
Originally Posted by pichlo View Post
I do not know about another device but I have definitely restored my contacts using instructions here after a factory reset, having nothing but the contacts.db file.

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.
Unless I really did something totally wrong, I have unsuccessfully tried this thrice in the past.
 

The Following 2 Users Say Thank You to Nikos Alexandris For This Useful Post:
Posts: 4 | Thanked: 5 times | Joined on Jan 2016
#13
Originally Posted by Nikos Alexandris View Post
Unless I really did something totally wrong, I have unsuccessfully tried this thrice in the past.
Just recovered my Contacts by replacing the files in:
Code:
/home/jolla/.local/share/system/Contacts/qtcontacts-sqlite/*
with the files from backup after Factory Reset of the Sailfish X 3.0.2.8.
 

The Following 2 Users Say Thank You to N9x3 For This Useful Post:
Reply

Tags
contacts, sailfish, sqlite

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:37.