# Ehrbase: How to drop all data **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2022-11-18 13:16 UTC **Views:** 436 **Replies:** 1 **URL:** https://discourse.openehr.org/t/ehrbase-how-to-drop-all-data/3227 --- ## Post #1 by @PietM Hey guys, I have a running installation of ehrbase and the underlying postgres via two docker images (ehrbase and ehrdb). This should be the default installation. How can I reset the the database, that is, delete all data and begin from a fresh installation? Thanks! --- ## Post #2 by @ian.mcnicoll I would normally just remove the docker containers and rebuild them. The only issue there is that you would remove uploaded templates as well as patient data. Perhaps create a script to re-upload your templates via the API? --- **Canonical:** https://discourse.openehr.org/t/ehrbase-how-to-drop-all-data/3227 **Original content:** https://discourse.openehr.org/t/ehrbase-how-to-drop-all-data/3227