Save system state ? layout panels and control option preferences

Most of the time I have issues with my distro and I re-install it again to save time solving big troubles

if there is an easy and fast way to save my control center preferences and my panels layout and easily retrieve them … Because it’s really exhaustive to do it every time
note: like copying some config files or something?? excuse me I’m a beginner