OBS (depending on version) keeps backups of the scene collections and profiles as files with ".json.bak" double extension (working file has only ".json" part).
The settings folder can be opened from OBS main menu
File > Show Settings Folder
Here you'll see next folders:
If there are no back ups in these folders - then only general rules to recover information may help.