What’s the best way to start over and erase all data on a self hosted server?
Can I just drop the 2 mongo databases and thinger will recreate them?
[EDIT]
Seems that yes!
-
Stop the thinger service
$sudo service snap.thinger-maker-server.thingerd stop
-
Open the mongo shell
$mongo
-
drop dbs
> use thinger_data
> db.dropDatabase()
> use thinger
> db.dropDatabase()
> exit
- Restart thinger service
$sudo service snap.thinger-maker-server.thingerd restart