Hello,
I am want to clone / sync two devices (xperia 10iii) daily. At the moment I want one way sync. After a lot of search I couldn’t find anything existing, I already made a home made backup shell script which helped me a lot with the most important data I wanted(contacts, commhistory, bookmarks etc), but I want to make it even better by automating:
- install on the second device the same repositories (openrepos, chum etc) and apps the first one has
- remove also the ones that I removed on main device
- sync the way I organized the apps in apps grid (order / groups)
- sync ambient (themes?) image / settings
- sync alarms/timers
- sync accounts (mail/ calendars)
- sync top menu buttons and way they are organized
- would also be nice to sync android apps and their data
all above by ssh, shell scripting and rsync when it is needed.
On the main device:
for repositories what I have found until now from command line:
ssu lr | awk '{ print $2,$4}'
I suppose I can get the output to a file and using a for loop (shell script) I could install / activate them on the secondary device. Also I had the idea to just rsync the directory /etc/zypp/repos.d
, if it is going to work it much easier/ simpler.
for installed packages:
rpm -qa --queryformat "%{NAME}\n"
I haven’t found a way to mass install all packages after I install the repositories. I checked pkcon and zypper without luck.
Does anyone have any ideas how can I do that or any of the above bullets?
Thank you in advance