Being Cautious: Database backup + restore process when testing things

It will delete all data from the discourse database, but not others. If the restore fails, the existing data will remain.