You should backup all of the old software:
/cgidir (cgi directory, contains most of your board code)
/membersdir (member directory, contains, member data/pms)
/ubb (contains your forum data and the rest of the ubb script, including all of the noncgi files)