During baseline update, I am getting error as backup_log_dir_for_component_Dgraph2 failed.
Changing the Dgraph property 'numIdleSecondsAfterStop' to 90 seconds from IAP workbench solved the problem.
It shows that the failure was due to the Dgraph was not properly stopped before rename and log folder was locked by Dgraph.
Setting 'numIdleSecondsAfterStop' causes the baseline to wait for 90 seconds to process next steps after Dgraph stops.