Nvidia FreeBSD Server to FreeBSD v2 Server User Manual

Page 12

Advertising
background image


Nvision.com, Inc.

Migrating from a FreeBSD Server to a FreeBSD v2 Server

domain will now point to the FreeBSD v2 Server instead.

You will need to do this manually since there may be many different names for mail
folders.

7. Migrate your databases from MySQL. To do this, SSH into your FreeBSD Serverusing

the IP address.

8. Perform a mysqldump on each database by typing the following at the shell command

line:

% mysqldump –u username –p databasename > filename

where “username” and “filename” are replaced with appropriate names.

9. Type the password.

10. The name of the file should appear with all the SQL and data needed to recreate the

database structure and data.

11. Copy the dump file to the FreeBSD v2 Server by typing the following:

% scp dumpfilename root@domainname:/root/

This will copy the file to the /root directory of the FreeBSD v2 Server. Do this for each
database that you have.

12. SSH into your FreeBSD v2 Server and type the following to create the database

structure and enter the data into the database:

% mysql –u username –p databasename < /root/filename

13. Type the password.
14. Do this for each database that you have. After you have finished this, verify that the

information was imported correctly.

15. After everything is working correctly, change the /etc/hosts.allow file back to the way it

was by deleting the following line that you added:

smtp submission aol : all : twist /bin/echo “450 This server
is moving its IP address!”

This will allow mail to be received again by your FreeBSD v2 Server.

16. After you have completed all the steps above, verify that all services are functioning

properly. In addition, check with all your users to verify they have all the files they need.
Also, check all Web pages to ensure they are functioning properly.

Migrating Time Sensitive Material

9

Advertising