Is there an SQL script to wipe what usync pulls down?

So we are working with Umbraco locally and when someone else has another branch they want me to test I switch to their branch and run a usync, but it still keeps my old stuff. What we are doing now is using a script that drops the whole database and recreates it and the users then we have to do the new setup for umbraco.
What I’m looking for is a script that just wipes away all that usync brought in before and I ran just run a clean usync so I’m not having to set up umbraco again.

Hi,

There isn’t really a script to remove what uSync has done. it’s basically the whole site so I going back to a fresh install is probably the most reliable way.

However you can do things to skip the manual process of setting it all up. Though unattended install settings.

And uSync also has a setting called firstboot

That will.sunc everything the very first time a site starts, so coupled with the unattended settings (also at the bottom of the first boot docs page).

You can effectively delete the local dB (e.g rm ./umbraco --force. :wink:). And then run the site, the dB will recreate, uSync will import from disk, and everything will be as per the branch.

We’ve talked about the same issue here, there are a few suggestions you can perhaps use. I haven’t gotten around to testing out what works best, so I’m happy to hear your experiences should you try them: