As far as I know, the only way is to do a backup restore. Have you configured automated backups in Discourse?