question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backup work profile (Shelter)

See original GitHub issue

Hi,

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:open
  • Created 4 years ago
  • Reactions:2
  • Comments:24 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
dznsmcommented, Sep 25, 2020

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.

4reactions
stevesoltyscommented, Apr 13, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found