Manually restore database files

Quick question, hoping this is an easy answer

My computer took a huge dump… and some nasty malware made doing anything next to impossible. Browsing to my sickrage installation was not possible, so creating a backup of my shows wasn’t an option.

I reinstalled windows 10, and I am going to install sickrage again. I have the old folder with all my old preferences and database files.

Am I able to simply copy/overwrite the fresh installation with the files from the old directory and it’ll work? Or should I just copy over specific files for preferences and my database? That’s really all I am wanting. Let me know what to copy and where to put it. Thanks.