Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    7

    Default Server Migration

    I have a cPanel 10 server which is in dire need of new hardware, but before I proceed I have a few questions if anyone can help me

    Can I import cPanel 10 backups in to cPanel 11?
    I plan to shut down http/mail services on the old server, run a backup, then restore everything on to the new server.

    Which brings me to my second question, currently the backups are not finishing in time over night, is there a way to force cPanel to run a full backup ignoring load etc to get it finished ASAP?

    The server also currently has 50k+ emails sitting in its queue which I'm not really sure on the best way to remove, I was considering wiping out anything older than two weeks but I'd have to run that past the customer first (a lot is spam bounces with no home but I don't have time to search through that many emails!)

    TIA,
    Simon

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Can I import cPanel 10 backups in to cPanel 11?
    Yes, that should not be a problem
    I plan to shut down http/mail services on the old server, run a backup, then restore everything on to the new server.
    Sounds like a sensible idea. I'd also suggest that you stop the chkservd process so that it doesn't start them back up again
    Which brings me to my second question, currently the backups are not finishing in time over night, is there a way to force cPanel to run a full backup ignoring load etc to get it finished ASAP?
    Once you've stopped httpd and exim you'll probably find the load go down anyway. IIRC, if you set WHM > Tweak Settings > The load average above the number of cpus at which logs file processing should be suspended to a nice high number then the backups shouldn't pause.

    Alternatively, you could try using the WHM Migration Wizard.

    The server also currently has 50k+ emails sitting in its queue which I'm not really sure on the best way to remove, I was considering wiping out anything older than two weeks but I'd have to run that past the customer first (a lot is spam bounces with no home but I don't have time to search through that many emails!)
    Up to you, but if it's in the queue, it failed to deliver the first time at least. If it failed to deliver, it usually will keep failing until it falls off the queue. Unless you have custom queuing options enabled in exim.conf, or use smart routers or secondary MX, I'd personally blow them all away. The easiest (and least subtle) way of doing this is to:

    1. Stop exim and chkservd
    2. Run:

    rm -Rfv /var/spool/exim/input/* /var/spool/exim/msglog/*

    But be very careful doing that.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    7

    Default

    Thanks for the tips

    The only thing related to a Migration Wizard i can find is an IP one which unfortunatly doesnt help me as I intend keeping the same range on the new box, unless there's something else not in the docs!

    Thanks,
    Simon

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 06-29-2011, 03:56 AM
  2. 500 Internal Server Error - Server Migration
    By thorny23 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-31-2010, 04:44 PM
  3. New server migration help please
    By salvatore333 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-13-2010, 12:42 PM
  4. Server Migration help
    By bryanabhay in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-03-2009, 11:22 PM
  5. Migration to new server
    By toygeek in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-03-2006, 10:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube