Be very careful if you restore the database but the files are missing synching will treat them as deleted and propagate the change globally.
There should be a margin of safety in that the .stfolder file will probably be missing but I would keep the configuration and blow away the database personally.