We do not currently have a recommended procedure that both
- deletes project-related database records
- leaves the project directory intact
An imperfect workaround might be:
- Detach the project
- Prepare and set aside a copy of the (detached) project directory
- Re-attach the project
- [Caution: deletes project data on filesystem] Delete the project via the browser interface or (CLI)
delete_project()
After database records for the project’s jobs have been deleted, disk space needs to be reclaimed by compact
ing the events
, fs.files
and fs.chunks
collections.
Please see this topic regarding the authorization for admin commands like compact
.