Re: [vchkpw] Migrating an entire domain to a different server.

2004-07-26 Thread Jean Wainer
On Sat, 24 Jul 2004 07:59:30 +1000
"Michael Bellears" <[EMAIL PROTECTED]> wrote:

> Hi Jean,
> 
> Jean Wainer wrote:
> >> - Copy MySQL entries for domain to new server? (This is the step I am
> >> unsure about!)
> > Well, you can do that. Or you convert the user base to CDB on
> > the original server (~vpopmail/bin/vconvert -m -c $domain),
> > copy the CDB file to the other server (inside the domain
> > dir), then run vconvert on the new server
> > (~vpopmail/bin/vconvert -c -m $domain). I prefer this way.. :)
> > 
> 
> Ahh - Thanks!
> 
> Any gotchas moving the 5.3.19 -> Current Stable with vconvert?

I dont think so. Last time I did that, I moved thousands of domains from vpopmail 4.x 
to 5.4.5 :)


Jean

> 
> Regards,
> MB
> 


RE: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Che Stevens
With Mysqlfront you can import one db to another db on another server.
http://www.mysqlfront.de

I've done it this way before.

-Original Message-
From: Michael Bellears [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 23, 2004 5:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Migrating an entire domain to a different server.

Hi Jean,

Jean Wainer wrote:
>> - Copy MySQL entries for domain to new server? (This is the step I am
>> unsure about!)
> Well, you can do that. Or you convert the user base to CDB on
> the original server (~vpopmail/bin/vconvert -m -c $domain),
> copy the CDB file to the other server (inside the domain
> dir), then run vconvert on the new server
> (~vpopmail/bin/vconvert -c -m $domain). I prefer this way.. :)
> 

Ahh - Thanks!

Any gotchas moving the 5.3.19 -> Current Stable with vconvert?

Regards,
MB

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.725 / Virus Database: 480 - Release Date: 7/19/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.725 / Virus Database: 480 - Release Date: 7/19/2004
 



RE: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Michael Bellears
Hi Jean,

Jean Wainer wrote:
>> - Copy MySQL entries for domain to new server? (This is the step I am
>> unsure about!)
> Well, you can do that. Or you convert the user base to CDB on
> the original server (~vpopmail/bin/vconvert -m -c $domain),
> copy the CDB file to the other server (inside the domain
> dir), then run vconvert on the new server
> (~vpopmail/bin/vconvert -c -m $domain). I prefer this way.. :)
> 

Ahh - Thanks!

Any gotchas moving the 5.3.19 -> Current Stable with vconvert?

Regards,
MB


RE: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Michael Bellears
Shane Chrisp wrote:
>> Running vpopmail version: 5.3.19, with MySQL auth (I know - Have to
>> upgrade!), and we have one client who wishes to move there domain to
>> a new server - The domain contains about 400 accounts, and I was
>> wondering the best way to migrate the entire domain?
>> 
>> - Add clients_domain to new server
>> - Copy /home/vpopmail/domains/clients_domain/* to new server
> Last time I did this I moved about 300 domains with about
> 25000 users by tar'ing up the entire domains then extracting
> them on the new system. Just make sure you chown to the right
> user if you use a different uid/gid for vpopmail.vchkpw
> 
>> - Copy MySQL entries for domain to new server? (This is the step I am
>> unsure about!)
> 
> All I did was dump the DB and then import it on the new mysql server.

I would do this, but I have ~300 Domains on our server, that I do not
want on the clients new server.

Regards,
MB

> 
> regards
> 
> Shane



Re: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Jeremy Kitchen
On Friday 23 July 2004 08:52 am, Shane Chrisp wrote:
> >Running vpopmail version: 5.3.19, with MySQL auth (I know - Have to
> >upgrade!), and we have one client who wishes to move there domain to a
> >new server - The domain contains about 400 accounts, and I was
> >wondering
> >the best way to migrate the entire domain?
> >
> >- Add clients_domain to new server
> >- Copy /home/vpopmail/domains/clients_domain/* to new server
>
> Last time I did this I moved about 300 domains with about 25000 users by
> tar'ing
> up the entire domains then extracting them on the new system. Just make
> sure you
> chown to the right user if you use a different uid/gid for vpopmail.vchkpw

use rsync so you can get everything prepared and make the switch faster :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Shane Chrisp
>Running vpopmail version: 5.3.19, with MySQL auth (I know - Have to
>upgrade!), and we have one client who wishes to move there domain to a
>new server - The domain contains about 400 accounts, and I was 
>wondering
>the best way to migrate the entire domain?
>
>- Add clients_domain to new server
>- Copy /home/vpopmail/domains/clients_domain/* to new server
Last time I did this I moved about 300 domains with about 25000 users by
tar'ing
up the entire domains then extracting them on the new system. Just make sure
you
chown to the right user if you use a different uid/gid for vpopmail.vchkpw

>- Copy MySQL entries for domain to new server? (This is the step I am
>unsure about!)

All I did was dump the DB and then import it on the new mysql server.

regards

Shane



Re: [vchkpw] Migrating an entire domain to a different server.

2004-07-23 Thread Jean Wainer
Hi Michael,

On Fri, 23 Jul 2004 10:33:31 +1000
"Michael Bellears" <[EMAIL PROTECTED]> wrote:

> Running vpopmail version: 5.3.19, with MySQL auth (I know - Have to
> upgrade!), and we have one client who wishes to move there domain to a
> new server - The domain contains about 400 accounts, and I was wondering
> the best way to migrate the entire domain?
> 
> - Add clients_domain to new server
Right.
> - Copy /home/vpopmail/domains/clients_domain/* to new server
Ok.
> - Copy MySQL entries for domain to new server? (This is the step I am
> unsure about!)
Well, you can do that. Or you convert the user base to CDB on the original server 
(~vpopmail/bin/vconvert -m -c $domain), copy the CDB file to the other server (inside 
the domain dir), then run vconvert on the new server (~vpopmail/bin/vconvert -c -m 
$domain). I prefer this way.. :)

Jean
> 
> Thanks in advance.
> 
> Regards,
> MB
> 


[vchkpw] Migrating an entire domain to a different server.

2004-07-22 Thread Michael Bellears
Running vpopmail version: 5.3.19, with MySQL auth (I know - Have to
upgrade!), and we have one client who wishes to move there domain to a
new server - The domain contains about 400 accounts, and I was wondering
the best way to migrate the entire domain?

- Add clients_domain to new server
- Copy /home/vpopmail/domains/clients_domain/* to new server
- Copy MySQL entries for domain to new server? (This is the step I am
unsure about!)

Thanks in advance.

Regards,
MB