Skip to content

Feature/optimize multiuser bckrestore#1

Open
myroad94 wants to merge 3 commits intocluk1:masterfrom
myroad94:feature/optimize-multiuser-bckrestore
Open

Feature/optimize multiuser bckrestore#1
myroad94 wants to merge 3 commits intocluk1:masterfrom
myroad94:feature/optimize-multiuser-bckrestore

Conversation

@myroad94
Copy link
Copy Markdown

@myroad94 myroad94 commented Dec 6, 2020

Modification:

  1. backup.sh: Some app can be installed only for some user but not for user 0. This fixes it by list pkg per user.
  2. backup.sh: accounts.db is not used anymore in Android 9. accounts_ce.db and accounts_de.db supersedes it. Using tar instead of cp to preserve rights.
  3. restore.sh: restore only if it was installed for the user during backup, based on presence on data or .disabled file.

@myroad94
Copy link
Copy Markdown
Author

myroad94 commented Dec 6, 2020

BTW, thanks to the author for the great work of multi-user backup! The only one that exist so far, AFAIK.

@Beneter
Copy link
Copy Markdown

Beneter commented Jan 23, 2021

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants