There have been a few threads on this as discussed,
but in general, use MySQLMan, "dump" your database,
copy the cgi-bin/links/....
Directories to your local drive.
Copy any image directories you have on the /public/ tree.
On the new server, follow the instructions for setting up Links the first time.
Create the directories in the /public/ tree
Set the permissions on the /public/links/ directory to 777
Copy the cgi-bin/links/ tree you saved over to the new cgi-bin directory.
Set the file permissions on the .cgi files to be 755
set the directory permissions on the defs & backup directory to 777
set the permissions on the files in the templates directory to 777 (if you want to edit them through the built in editor).
Edit the Links.pm file to reflect the new server paths (usually, just the top few $LINKS{...} variables.
Now, using MySQLMan (or a similar program) load the dump file back into the database. If you saved it with the "create tables" commands, it will rebuild the entire database for you.
Then, run setup.cgi to "recreate def files"
You will have copy any def files you made for any _TABLES_ you added to links over manually, and edit the top of the file carefully to reflect the new server paths and passwords, etc. If you didn't add any new tables you don't have to do this.
Edit any "GLOBAL" variables you may have set in the HTML_Templates.pm file, if you have hard-coded any paths into those. (Not everyone will have).
Then, re-index your site.
Rebuild the site,
and with any luck you'll be up and running.
Don't forget to password protect your Links/admin directory. That depends on the tools your server admin set for you.
http://www.postcards.com FAQ:
http://www.postcards.com/FAQ/LinkSQL/