When you have things going your way, why not just image the whole disc and sleep well.
I have used this for years. It is proprietary yes, and runs on an old version of Linux. https://www.terabyteunlimited.com/image-for-linux/ I have no interest in these people, I don't get a commission for advertising them. If you duel boot you can also make an image of that other OS too, keep them both on a single disc using their respective file systems on two partitions named for the purpose. GParted working from a bootable disc or stick, works well for setting that up. IFL you put on something that can be booted first in case things are really screwed. It is pretty straight forward with no surprises. An image before a large dist-upgrade especially with the word nvidia in the list of packages, I would do without hesitation. -- salve debian invictum