Back-up and restore is a good to have option but just don't over-rely on it.
Sometimes it work, other time it doesn't. Been there done that many times. And precisely why I don't use back-up software like macrium or AOMEI; not even window's own backup and restore feature.
I prefer to work and save all my stuffs in thumb drive/external disk.
If my PC got infected, I try to rescue with SD on Boot. If it fails, just format it again ( I only have SD, Appguard, SB and Adguard installed as most of the productivity apps are in portable).