How to backup Anki note types in desktop

Hi All,

I am planning to format my laptop as it is too slow. I want my anki to function the same as the present one. I don’t want to loose the customisation I made to the addons like Closet. I also have some customised note types made by me. I don’t want to lose any of these.
Can somebody tell me what I should do to just have the ditto Anki as the present even after formating my system?

All data is stored in your Anki data folder: Managing Files - Anki Manual

thanks . restored everything back