Check out the
UBB Move instructions - follow the first half (download only).
If you need it done quick and dirty, grab the following files from the following directories:
ubbcgi/forums.cgi UltBB.setup mods.file Styles.file
ubbnoncgi/Forum*/forumstyles.file *.cgi
Members/*.cgi
Transfer everything in ASCII. With those files alone, you can restore your UBB.
*edit* It would be nice if I actually included that URL. Heh.