Restore a Deleted Baseline

Is it possible to restore a deleted baseline? We can query SQL for the ContentID in the CUSTOM_BASELINES table to find the baseline. However, we do not have the command to restore it. Below is the query for reference:

select ContentID, Name from CUSTOM_BASELINES where IsDeleted=1 
order by ContentID

We have the command to restore an action but can’t find one for a baseline.

1 Like

In case anyone else has this issue, support confirmed there is currently no way to restore a deleted baseline even though we can find it in the DB. It relies on other tables and removing the flag is not enough.

FYI. If you have an action that contains the baseline,. you can look at its contents … you can also export it and edit/examine it with notepad++

I tried that but the export only imports a new action and not a new baseline. I tried modifying it but there is a lot more references in a baseline export than an action export. I did re-build it by referencing a previous action.

Having the content, you can also use APIs to re-create the baseline: https://developer.bigfix.com/rest-api/api/baseline.html