If you need to migrate Dynamics GP from one server to another, run this series of scripts against the database. These were provided by GP, but we can't find the documentation anymore...
As with all information in this site, this is provided 'as is'. Only use this information on a fully backed up system.