Actions on official or other bonds lodged in any office which are destroyed with the registry thereof may be prosecuted by petition against the principal and sureties thereto, and the proceedings shall be as in the former courts of equity.
N.C. Gen. Stat. § 98-9