oandbackup icon indicating copy to clipboard operation
oandbackup copied to clipboard

[bug] oandbackup only backs up data in /data/data, not in /data/user_de/0

Open acornsirup opened this issue 8 years ago • 6 comments
trafficstars

Hey,

first off, thanks for this nice application, it works really well!

I just noticed one issue: Alarm timers are stored on a per-user basis in /data/user_de/0/com.android.deskclock/databases (at least on my device with LOS 7.1, so essentially AOSP), a folder which isn't included in the backup.

Checking whether an app also has data in this multi-user environment folder and then including it in the backup should be possible, right? I think it's sufficient to back up the admin's data, i.e. first user, i.e. user "0".

Cheers

acornsirup avatar Nov 17 '17 14:11 acornsirup

AFAIK oandbackup backups current user's data, not all user's. And Android plays with symlinks so that /data/data points to the current user's data (the paths you found already).

ildar avatar Nov 17 '17 17:11 ildar

Sorry for the late reply.

Nope, the contents of /data/data/com.android.deskclock/ and /data/user_de/0/com.android.deskclock/ differ. The alarms are stored in the user directory. Oandbackup usually backups the /data/data directory.

acornsirup avatar Jan 29 '18 21:01 acornsirup

I see this is an old issue but if someone is reading I confirm that the contents do differ. /data/user_de/0 (not to be confused with /data/user/0, which is a symlink) is currently a directory not backed up by the app. In fairness very few apps store data in /data/user_de.

SaifMasoud avatar Jul 31 '19 15:07 SaifMasoud

I've also just landed here, because I've noticed that the data in /data/user_de aren't backuped.

yennor avatar Aug 14 '19 03:08 yennor

@yennor What app & and what type of data does it store there?

SaifMasoud avatar Aug 14 '19 03:08 SaifMasoud

com.ceco.pie.gravitybox: The app settings. As it seems also edxposed manager and magisk store settings there

yennor avatar Aug 14 '19 04:08 yennor