Heres one way...
1. tar or rsync ~vpopmail onto new machine
2. dump the database using mysqldump ( mysqldump --add-drop-table -u root -p
vpopmail > vpopmail_dump.sql )
3. load the dump into the new machines mysql instance ( mysql -u vpopmail -p
vpopmail < vpopmail_dump.sql )
Heres what I have done in the past:
1. rsync -e ssh -prav /home/vpopmail/ newbox:/home/vpopmail/
2. ssh oldbox "mysqldump --add-drop-table -u root --password=mypass vpopmail
" \
| mysql -u vpopmail -p vpopmail
YMMV
Hope this helps,
--
-------------------------
Sean P. Scanlon
perl -e 'print pack("h38", "3707370426c6575646f647e2e65647"), "\n"'
-------------------------
--> -----Original Message-----
--> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
--> Sent: Thursday, December 07, 2000 12:38 AM
--> To: [EMAIL PROTECTED]
--> Subject: Upgrading to a new server.
-->
-->
-->
--> Hello. Can someone help me out on what would be the best
--> procedure to move
--> a
--> vpopmail mysql database to a new server ? I tried tarring up the mysql
--> db directory on the old and untarring it onto the new server however
--> vpopmail
--> complains that it does not see the username. However when I
--> manually add a
--> domain
--> in everything works fine.
-->
--> Any help would be appreciated !
--> Tony
-->
-->