Re: [bareos-users] Android backup

2021-07-10 Thread Spadajspadaj



On 10.07.2021 18:51, Erich Eckner wrote:


>> > In general, Android backup is - to put it delicately - a 
completely screwed up thing.

>>
>> > Especially if you don't have your phone rooted.
>>
>> Yes, I imagined, it would be difficult/impossible to back up a 
complete phone, when it's not rooted. However, I could imagine backing 
up "user data" (images, address book, emails, etc.) with some 
pipe-like endpoint.

>>
> Not necessarily. Without root any access to other app's data is 
severly limited (if not completely blocked). There is more access via 
USB with debugging enabled and adb tool but still to back up the data 
this way the app must permit it (there is a setting in app's manifest 
saying whether adb backup will access this app's data or not). And 
thirdly - even with root access there is a huge PITA with migrating 
system apps' data (phonebook, text messages and so on) between 
different phones. Been there, done that, ended up with manually 
decrypting and unpacking app and converting contacts to CSV or ldif.


> Mobile phones - their backups and/or migrations have "since always" 
been a completely horrible experience for me.


ok, I see. Thank you for your input!


To give you an idea of how I backup my android device:

1) For text messages (and call logs) - app called SMS Backup and restore 
- it creates a dump of text messages using Android API and stores it in 
a XML file if I remember correctly. You can restore the backup with the 
same app on another phone - tried it, does work.


2) For contacts - there is nothing reasonable really, except built-in 
synchronization with external account. As I don't want to push my 
contacts to gmail or another such services, I have my own CardDAV server 
running radicale


3) For app data - I have a script that does a batch dump of app data for 
every installed app (as I wrote before - it doesn't work for some apps 
which don't allow it - mostly games or banking apps) using adb from 
android tools (it does a separate dump of each app thus needs to 
simulate entering password and "clicking" on screen with adb in order to 
not require you to enter the password separately for each app). I simply 
attach my phone with USB cable to my laptop and run this script from 
time to time.


Unfortunately, I don't see any easier reliable way. Of course you may 
try to synchronize your data with gmail account but - to be honest, I'm 
not sure how well it works (especially with those apps which are set as 
not-backuppable) and it does raise some privacy concerns for me.


HTH

PS: Since we're drifting from the main topic of this list PM me if you 
want more details about the script.




--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/800a12e2-f26a-f801-18d5-8623fcca1097%40gmail.com.


Re: [bareos-users] Android backup

2021-07-10 Thread Erich Eckner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Sat, 10 Jul 2021, Spadajspadaj wrote:



On 10.07.2021 09:10, Erich Eckner wrote:

On Tue, 6 Jul 2021, Spadajspadaj wrote:

> In general, Android backup is - to put it delicately - a completely 
screwed up thing.


> Especially if you don't have your phone rooted.

Yes, I imagined, it would be difficult/impossible to back up a complete 
phone, when it's not rooted. However, I could imagine backing up "user 
data" (images, address book, emails, etc.) with some pipe-like endpoint.


Not necessarily. Without root any access to other app's data is severly 
limited (if not completely blocked). There is more access via USB with 
debugging enabled and adb tool but still to back up the data this way the app 
must permit it (there is a setting in app's manifest saying whether adb 
backup will access this app's data or not). And thirdly - even with root 
access there is a huge PITA with migrating system apps' data (phonebook, text 
messages and so on) between different phones. Been there, done that, ended up 
with manually decrypting and unpacking app and converting contacts to CSV or 
ldif.


Mobile phones - their backups and/or migrations have "since always" been a 
completely horrible experience for me.


ok, I see. Thank you for your input!

regards,
Erich

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmDp0AwACgkQCu7JB1Xa
e1qsEw//WE/Rip1cz9FUORaBdXl8ErxID3TN8xqhylYhI1vhDfeofTzMnxn6eHFj
fFfRXIH264smgJ/VPwJp+pPjuPugvIK4Ldc5kwKmZ4TYJgN9AjaiyOlBFyI9oRn2
F99Rtrv/ZxL4Wb8Svxs46De9VRnwr4cTQmKL3OQg/cG0XOWrg4l2JhH+6ZPmkqsa
jFxI1FrlsqfDBfq3N50NtLgEJiSNGPtawLs2cClUEJLRVZHhd0CcFKdGkJ0JlI37
ILr2IvQLQnsZKOEurEeBxQf/F63WEdw07P09jeVRXrU3j0Cp5adPWSuEsqwZXxRB
D5pRYYjT2ameQRJ14z4cIO9Yn9igyfgxO5ia6ZVytFcEMI7vuqyUCyc7yl3p4q2U
yYpfFf5/7KvWAoEaFTJdEYrnTVwxa9JcCXPYwjMoPWxCAfyqm/lqTPhDGDRm0mpT
9RUYZMiKXS5nnKphLzL9NRAOw+tOT4gselIHnDn0qsKDK+lZSqzzI4ybiA9mx5ek
GdjyGy2/nDHbnFV6UmxwZmRrBwwYZJ5AtYmRXWpbs698Pwkt3+xtHCkSogdIk1IY
ijQzE/eEa6wBNKvuBjiqhRBLcIH+vle0vqm+c0Iio/ojEJfjptcFzJQboeANcn7m
iaosj2/sc/Tq1YUwgxhU09nmeBRn3k7rPlWVE+l/tOb4ODWeftI=
=tKU7
-END PGP SIGNATURE-

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/97232c7d-9013-e7f4-e07a-fa04562e7e7%40eckner.net.


Re: [bareos-users] Android backup

2021-07-10 Thread Spadajspadaj



On 10.07.2021 09:10, Erich Eckner wrote:

On Tue, 6 Jul 2021, Spadajspadaj wrote:

> In general, Android backup is - to put it delicately - a completely 
screwed up thing.


> Especially if you don't have your phone rooted.

Yes, I imagined, it would be difficult/impossible to back up a 
complete phone, when it's not rooted. However, I could imagine backing 
up "user data" (images, address book, emails, etc.) with some 
pipe-like endpoint.


Not necessarily. Without root any access to other app's data is severly 
limited (if not completely blocked). There is more access via USB with 
debugging enabled and adb tool but still to back up the data this way 
the app must permit it (there is a setting in app's manifest saying 
whether adb backup will access this app's data or not). And thirdly - 
even with root access there is a huge PITA with migrating system apps' 
data (phonebook, text messages and so on) between different phones. Been 
there, done that, ended up with manually decrypting and unpacking app 
and converting contacts to CSV or ldif.


Mobile phones - their backups and/or migrations have "since always" been 
a completely horrible experience for me.



--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/5b7f2ad2-91b1-a6a8-e678-8afcb0a4ac0f%40gmail.com.


Re: [bareos-users] Android backup

2021-07-10 Thread Erich Eckner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, 6 Jul 2021, Spadajspadaj wrote:

In general, Android backup is - to put it delicately - a completely screwed 
up thing.


Especially if you don't have your phone rooted.


Yes, I imagined, it would be difficult/impossible to back up a complete 
phone, when it's not rooted. However, I could imagine backing up "user 
data" (images, address book, emails, etc.) with some pipe-like endpoint.


regards,
Erich

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmDpR9kACgkQCu7JB1Xa
e1qLYA//dLVatjLHOpDCSXwMbTtkir7O6AVpGImUHhFLY8JNvF0VtVDEoGp7vbmf
JEfqCGIiywbWSb54AMaplfdExa3eKavqAM6XC6YuGKKx7/bBhNccXY4Fiqei4RyI
Tk7WOh227+PC6hoJccuHW+JscdEgyclj/4sXiw1HqjomfzaSgm5WFVSih5jgcl0G
unypeCKaKT1YfXaorIAr0hRzsJ0SFmbcGHxfDX4Ut968b5UvQvfyDeGH1N5kyPwt
lbHv22kQ7aAbzPR4Jm+sbVBsehX2XcFnRHljAGkpWOVjFehVGgh1HrXsB89H7NSM
XBbm8C8oXtocrfs7cV6e6/2MbO6ihFyl7eeK4gTLrKw5pyhtciHHOBl44aKKbwNT
fD6anZcbJnFLNN6csUzByW0Zuwvdw6BdoH+JNjlR927EMRVC6Y/B8PpdQ0QzlzSZ
SfugitOtfEeXasM6XK3A1t8tzbEEU2fqlwF9ZY14n9b50vKluf6UhcUMRLGn3DUS
KWCU86QNUEsXPYmovi0s8I+mUcvrUB0F8CaQ3+KOPNdJrJ4WRdu1Y0cxnJdXS1vr
xNrPzS/WidDEqKkLzd9won586BjbDofoMwKE3+mQtP47lml83mGgcN1X5dk/ycX/
gkzBPA31KNPOOoN/7LM3heTWDW6mWfHPfPa5SM6zuuFSPn2f9Dg=
=JEIn
-END PGP SIGNATURE-

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/a69a464b-9430-a484-21b5-295328be7f6e%40eckner.net.


Re: [bareos-users] Android backup

2021-07-10 Thread Erich Eckner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, 6 Jul 2021, Spadajspadaj wrote:

In general, Android backup is - to put it delicately - a completely screwed 
up thing.


Especially if you don't have your phone rooted.


Yes, I imagined, it would be difficult/impossible to back up a complete 
phone, when it's not rooted. However, I could imagine backing up "user 
data" (images, address book, emails, etc.) with some pipe-like endpoint.


regards,
Erich

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmDpSNsACgkQCu7JB1Xa
e1pLuA//cf+4lsr2pJ7SamYzUSs2iRsgE6e+QdhARIpgh4B/HvMCMU1AqkhLK86H
0kQBbUU4+tivAaSU4+HvJM9hBdvQsfgB3JTS8QeBWWpi+VJ/GK58uDfHAxogPRnF
zQvr8J7pVr0cK//nXiZirRf7K+jb+2NnSjQqewUJrbYQx/OIsqIS1wOEjnK6BQ44
1sv0didS4Ml9iYArGBPlch+b3HnW2Di70Kt098GfOuJ3a/qVT2pj6qR2v/uOuNrc
wSINVrwtLwm8o8zac/gBmFMbA5S1/0Whgx/YioLsaTI9yEyPAUavQWj1AmmXs2zH
3Sy4/i+X8WxgR34TLhKqRZ6DtnRmjuRF1jsLky+iH/99f4CuVd7qlc7amXfJxy+J
7qGIgNvzt5/uGlCD1Fg399BKxuVlS6Uh9jJkfvZ04FXqk9hyQAGUpXDTlywvDdqu
nKyCKCqtUAYNWKSs4kYZlSeJJ5ChcU5BYqMlT7VJFf0dQ0DxAtS9VE46TuVNRs4/
3kQPQEmLUUEvpWxSViZ4D7thODgJ1VmiNy9Rl7joJvhHLwKECI9q6pvWZ96aUEaJ
Z/zZ58eH/ylWY35APPl/szzOaEW5BE3BMX5iEb29dDK/J18bBjntgkdrsFtfZEhR
j5WUVdiXWFfxAw5K0rMDAohuMbZHRQ8RFqgMTkYXC9qe+gMY8wE=
=Xqkb
-END PGP SIGNATURE-

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/7a1aa368-34c5-c317-d0f4-bd6a3a8fe6a%40eckner.net.


Re: [bareos-users] Android backup

2021-07-06 Thread Spadajspadaj
In general, Android backup is - to put it delicately - a completely 
screwed up thing.


Especially if you don't have your phone rooted.


On 05.07.2021 19:35, Erich Eckner wrote:

Hi,

I was wondering, if it was possible to back up an Android phone with 
bareos. I searched the playstore, but couldn't find anything - but 
maybe, there's some "inofficial" app/solution?


regards,
Erich


>

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/dd350b50-fc21-cde0-51d0-57da5d3cb050%40gmail.com.


[bareos-users] Android backup

2021-07-05 Thread Erich Eckner

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

I was wondering, if it was possible to back up an Android phone with 
bareos. I searched the playstore, but couldn't find anything - but maybe, 
there's some "inofficial" app/solution?


regards,
Erich

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmDjQwAACgkQCu7JB1Xa
e1p9rhAApZrzdlkoezO+/jBODqEe3ODnLL0lGLT7RIAlq8ioseXpX/vNck083+id
BH4i2+QAjjt6oLsqbSB9V6b4g41f0Ofdr1DDcsRtswAN4Qp1LgKIfgc05pd4H9oV
92WgE189wyjRia5sKRpBUlm3mRp7B35zMsvO4MnO1dePGyZjpmaKQfPLOc6yf9lv
xO2sBGXl1YAQiDOLIHwXg9a+TQteogs359V2b+IDxCszJU/rtZfhkvcY5CD3WH5W
DRiqHnLgOQ2yGMGfZ7Zxns5njx03LYISSP4HpGVivd0yueJXrzjcQQUWQFzInZrk
0MRakhbWNQuzMyXy607xHXjOxuRP84Q8jmG8JwoP3gNvlMToTnqa9Suj2fa99lNW
LnVb8fryM6JgttjzgA8XghhmKBBosN32w7Rv9io+JmhOMJarVbzqkdLqmjjHD7I8
mCjhAZVVYbAl6DglGiR1dpSGicNiDzRWXPTPioTrg0gys1qkasV9OfvCa9pwnJqX
vpLB27Man7nqC/HfxOOy3ErVF0y+taTXiwGO5iAvHVkwT0PPHGU/QEeYrWg+lM90
8qpDN3yvaaabaE1HVI3bYhALfhXBNdpRxTF81Dvh3dFaasl2C4+tX3Is3fBqRpRb
YiEiRL6XMW1mHRbnTZ/sdka993JN1S+Eq4yx/xkhXXFYF7XC2Tg=
=sSnd
-END PGP SIGNATURE-

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/4fe5aac-7270-a4f-94b3-cb8ec5fde5c5%40eckner.net.