Open gus4rs opened 3 months ago
Most likely yes. Android's CLI package manager pm
supports managing apps in specific profiles with --user
— and according to this StackExchange answer, pulling data from specific users is also doable. The script could get the list of profiles on the device using adb shell pm list users
and that way figure out there's a work profile that needs to be backed up (but the easiest implementation would be to have individual backups for each profile).
I'll think about adding support for this, however the demand for this feature is in all likelihood very low. Generally I don't like saying this, but you're welcome to submit a PR if you manage to get it working; the building blocks are already there.
I haven't found any info about backing up apps, data, contacts from a Work Profile (https://support.google.com/work/android/answer/6191949?hl=en), is that doable?