When the dedication or blessing of a church or the blessing of a cemetery has been completed, a document is to be drawn up, one copy of which is to be kept in the diocesan curia and another in the archive of the church.
Source: Code of Canon Law (Vatican.va)