Backup work profile (Shelter)
See original GitHub issueHi,
I have setup a Android work profile so when I open System -> Backup, the settings app asks in which profile the Seedvault should be opened. Personal profile works as intended. But when I select “Work”, it says “Disabled by admin”. I am the admin and I did not disable it 😃 I did a quick grep over frameworks/base
, Internet search and logcat. No obvious setting. Do you see a trick to patch Android so that backing up the work profile works?
Keep up the good work!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:24 (11 by maintainers)
Top Results From Across the Web
Backup work profile (Shelter) · Issue #77 - GitHub
I have setup a Android work profile so when I open System -> Backup, the settings app asks in which profile the Seedvault...
Read more >Any way to backup the data of an app in a work profile that ...
I have an unrooted bootloader-locked pixel 4 xl, there is this one app in my work folder (made using shelter) that allows backups...
Read more >Work profile managing with Shelter - Knowledge Base
Work profile managing with Shelter. Shelter is a lightweight open-source app, that facilitates the managing of work profiles.
Read more >How to back up/export the work profile?
Use a command line utility such as tar to backup app data. Make sure to preserve permissions for the app directory and files...
Read more >Work Profile app vs Shelter : r/CalyxOS - Reddit
I have been using Shelter for 1 year and now there is a Work Profile app. Is there any advice on which to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had a chat with the Shelter dev. The problem is probably https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setBackupServiceEnabled(android.content.ComponentName, boolean) They should have a new release in the next few days with support for Android 11. Said that after that they are happy to add a setting to allow backups to be enabled.
I’ll re-open this in case anyone else is having this issue and wants to contribute.
It sounds to me like the backup transport is not set for that user. However, I’m not sure if the backup transport setting is per user. There could be other code affecting the backup transport settings for non-admin profiles somewhere else as well.