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