For those who haven't encountered it yet, titanium backup (per-app) and TWRP (full partitions) are the gold standard... Assuming you control your phone. I'm not aware of any solution if you don't have root or an unlocked bootloader; AFAIK Google's official solution is sync to Drive (or ... Google One, now? If that's different?), but last I checked support was spotty, and of course that requires internet.
I have found a combination of TWRP + OAndBackupX to be perfect, stores absolutely everything, and it allows you to atomically restore individual apps+data id you need to.
Rooted of course. AFAIK there isn't any way to consistently and fully backup anything more than userdata and some google stuff if you are stock.