While Pauls comment is right, it omits the essential /samba/private directory.
I d suggest to use the builtin archive feature of b4smb.cmd - look into this file, it has a feature to take a complete Samba configuration snapshot upon each start.
The complete config is saved into a ZIP file, ready to be unzipped in a new environement.
In case the new server resides in a different place, make sure to change the paths in smb.conf accordingly.
Hope it helps,
Herwig