I've been looking for this man's father, in order to link him to the Dunbar line from Boath and Alexander I, his grandfather. Here's a brief bio from Fasti ecclesiae scoticanae:
"James Dunbar, grandson of Alexander D. of Boath; M.A. (King's College, Aberdeen, 1647) ; chaplain to the Laird of Innes in 1651 ; tutor to the Master of Duffus ; licen. by Presb. of Elgin 29th Aug. 1655 ; became min. of Watten before 1658 ; of Mertoun after 1667 ; pres. by Charles II. 16th Sept. 1674 ; adm. 12th Jan. 1675 ; deprived for refusing the Test in 1681; died at Edinburgh, 17th March 1684, aged about 65."He first married Katherine Brodie, and then Lilias Monro.