I did a mysqldump on the forum database that came out to oh about 800 megs of sql dump. I then did a tar -cvf on both the fourm folder as well as the gallery folder.
I then transfered three files to the new server 1. forum.tar 2. gallery.tar and 3. the my.sql dump file for the forum database which also includes the gallery tables.
I untared the forums.tar in the forums director on the new server, untared the gallery.tar to the gallery folder on the new server then I used mysql to upload the my.sql database backup to the new database on the new server.
After a little working on the forums they are up and running with no problem, but the gallery is showing a default install with no catagories or folders or images, just a plain old stock install.