AWS Thinkbox Discussion Forums

Manually purge a job from the DB

I’ve got a job that has gotten severely corrupted in the database (don’t ask…); basically, the Job document is missing most of its fields and data.

I have the job ID, and I’m wondering what steps I need to take to either A) get Deadline’s housecleaning to purge the remaining traces of the job from the DB (assuming it can even do something like that for corrupted jobs), or B) manually purge all traces from the DB myself the way Deadline does when it purges a job from the DB (using Mongo directly).

Any info would be appreciated.

All you’ll need to do is delete the job from the Jobs collection using its ID, and delete its tasks from the JobTasks collection using the job ID as well. The reports and auxiliary files will eventually get cleaned up by housecleaning.

Cheers,
Ryan

Great, thanks Ryan!

Privacy | Site terms | Cookie preferences