How can you delete a site with bench?

Continuing the discussion from How can I delete/remove a site?:

has this bench command ever been made?
it’s not bench site-delete (which would come to mind easily)

2 Likes

found the the answer here

bench drop-site [sitename]

you need the root mysql password in order to remove it. There is a backup being kept in /home/frappe/frappe-bench/archived_sites/[sitename]

Without having tried it I assume that you (once having decided never to need that site ever again) just can remove/delete that archive folder

7 Likes