Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for backup of Work profile #128

Open
gus4rs opened this issue Aug 20, 2024 · 1 comment
Open

Support for backup of Work profile #128

gus4rs opened this issue Aug 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gus4rs
Copy link

gus4rs commented Aug 20, 2024

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?

@gus4rs gus4rs added the bug Something isn't working label Aug 20, 2024
@mrrfv
Copy link
Owner

mrrfv commented Aug 30, 2024

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.

@mrrfv mrrfv added enhancement New feature or request and removed bug Something isn't working labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants