I tried command adb backup -f backup.ab -apk -shared -all /storage/emulated/0
Then I tried inspect with android backup extractor, it just backing up the APK data, while I expect it backups the entire data /storage/emulated/0
including Whatsapp data, DCIM, and so on.
-all
argument). Note that if you try to perform a backup for migration to a new phone adb backup may not restore app data on the new phone this is now limited to older apps on recent Android versions.adb exec-out "tar -c /storage/emulated/0 | gzip" > sdcard_backup.tar.gz
android.stackexchange.com/a/233784/2241 Note that the crated gz file will be corrupt if there is output on stdout (e.g. because of error or warning messages by tar). So after creating the gz file make sure to test it on the PC.