On 06/27/2012 05:14 PM, Cecil Yother, Jr. wrote:
I have two servers, server A and server B. They are both Centos 5.8,
built on the V2gnu iso. They are basically identical with all updates. I
have about a dozen e mail domains on server A and 2 e mail domains on
server B. Can I run the qtp-backup on server B and restore those on
server A so that all my mail domains reside on one server?
TIA
--
Not without a bit of modification. The backup is ok, but qtp-restore is
written load from scratch. With a bit of tweaking you should be able to
get it to do a non-destructive restore. The database load would need to
be changed to merge the backup in with the existing database, as would
various control files such as rcpthosts, morercpthosts, virtualdomains,
and the users/assign file (and don't forget the cdb file for that one).
That would be a nice feature for qtp-restore actually, have it ask if
you want to add the domains to the existing configuration or clean out
the existing configurations.
It might be simpler to create the domains manually though, write a
script to add the users to the target host (or add them manually too),
then simply rsync /home/vpopmail/domains/ from the old to the new host.
This would be the safest route I'm guessing. You could test out the
target after doing the initial rsync, then do a final rsync (which would
be fast) when you're ready to cut over.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]