Good write-up here.
Enable ADB verbose logging for backups:
adb shell setprop log.tag.GmsBackupTransport VERBOSE
adb shell setprop log.tag.BackupXmlParserLogging VERBOSE
Force auto backup:
adb shell bmgr backupnow <PACKAGE>
Force full backup:
adb shell bmgr fullbackup <PACKAGE>
Force all pending backup operations to run immediately by using the bmgr run command:
adb shell bmgr run
At this point you can uninstall and reinstall the app to be prompted to restore when opening it again.
Get the backup token:
adb shell dumpsys backup | grep Current
Force restore:
adb shell bmgr restore <TOKEN> <PACKAGE>
If you want to wipe the backup and can't do it because the it is unclear how to call the wipe properly you could try to disable and enable the auto backup.
adb shell bmgr enable false
adb shell bmgr enable true
great gist 🔖rooted s20 almost setup but needs resetting due to some really important apps bugging for some weird reason (plus other unknown + suspect system instability issues - magisk lsposed s20 droid13)
am about to try a few backups, to try and restore my system settings and app configs
does auto-backup data require the clouds? eg backup to samsung and google
and is it one backup only?
not sure if new things like neobackup tools are replacements for nandroid, or wrappers.
ideally I'll back up to sd, as laptop ssd is also reportedly on the blink!