# Remove NetBox

### Introduction

In a test or lab environment it is useful to be able to quickly wipe NetBox so you can [re-install](https://docs.netos.io/books/semaphore-netbox/page/install-netbox) and [restore](https://docs.netos.io/books/semaphore-netbox/page/netbox-restoration-guide).

[![image.png](https://docs.netos.io/uploads/images/gallery/2024-09/scaled-1680-/CExlcQOhNpdbi7Nl-image.png)](https://docs.netos.io/uploads/images/gallery/2024-09/CExlcQOhNpdbi7Nl-image.png)

<p class="callout danger">This process will drop the NetBox database from PostgreSQL and delete the `/opt/netbox` folder. It's probably not a good idea to run this on production system. In fact, delete the template on production systems!</p>