Need help with a backup plan

I recently had a crash on my OS drive. After a reinstall of Windows, I fired up Daz 4.10 Pro only to find that i had never backed up the files necessary to perform a "Migrate Old Content Database". In case of a future disaster, what are the files that need to be backed up so i can get all my custom categories rebuilt in the new install?
Comments
Edit>prefrencs>CMS Settings (Daz Studio>Preferences>CMS Settings on a Mac) will give you the location of the database, the "Content Cluster". On Windows the default is C:/Users/YOU/AppData/Roaming/Daz 3D?cms/Content Cluster.
So you backup all the folders/subfolders and files in the Content Cluster directory?
Thanks kindly...
Yes, back them up with DS and DIM closed (and PostgreSQL not running) so there's no risk of copying files reflecting two different states.
Thanks very much...
Thanks Rich!