[Feature Request] (not) Installed via Google Play filter
Is your feature request related to a problem? Please describe it.
No.
Describe the primary solution
Add an option in app type in backup filter.
Describe alternative solutions, if any
There are tickets mentioned that it's possible to get apps that marked as installed via Play can be obtained from processing XML under /data/system/, save the output as selection. If there are utilities that can do this that would be great.
Screenshots
Add an option in the app type:
(The idea comes from Swift Backup, allowing to make use of Google Backup while making the backup smaller.)
System Information (please complete the following information):
- Device: Xiaomi Poco F4
- Android Version: 14
- ROM: (AOSP, MIUI, OOS...) LineageOS with gapps
- App Version: 8.3.8 (fdroid)
I don't see why Google's backup can be considered complementary to what NB does. Both follow different philosophies and implement different use cases.
while I am using Google, I'm against mixing this...
You can just use Google backup and restore NB backups on top (or replace, if you have both), that's what I do. Apps that work well with Google backup (not many) can be excluded from NB.
Having a way to filter the installation source would be nice. That's why I prefer text based files for selections. You can use all kinds of scripts to create those files (one time or dynamically). Complex things like this should not be done by NB but outside. That's a job for Tasker or shell scripts etc. NB will never be powerful enough to replace automation or scripts.
However I imagine adding hooks for scripts etc.
Sorry for late reply. Anyway there is a snippet to export list of apps installed via Play Store:
STOREAPPSTXT="/sdcard/storeapps.txt"
pushd /data/system
awk '$10 != "com.android.vending" && $10 !~ "@" { print $1 }' > $STOREAPPSTXT
popd
Further automation is required though, or just run it and move the txt to selection folder before backup. Tasker may not be a good option for this as it's non-free, and maybe Termux API would be a better choice.