The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Moving a 40Gb site Whats the best way???

Discussion in 'General Discussion' started by Snowman30, Mar 30, 2006.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    I have to transfer a 40Gb website from one cpanel server to another ...

    whats the best way to do this - given its a busy site and there may not be enough room on the old server to achieve a full move tarball

    any suggestions?
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    rsync is a good option.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It does depend on where that 40GB is being used. IF it's the MySQL databases it might be a good idea to take a copy of /scripts/pkgacct and not do the MySQL database stuff, move the account and then manually copy of the MySQL databases. If it's the files within their account, then move them out of the way, pkg up the account, restore it, then as Aby says, rsync the ones you moved out of the way directly over into the newly restored account.
     
  4. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    If you have a back up partition then do a Incremental backup of the site, then do a rcync to the new servers back up partition and restore.
     
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    As chirpy says, depends on where the 40Gb is. I'd suggest moving the bulk of whatever-it-is out of the way, then doing a pkgacct account, then scp it to the new server, then unpack it at the other end. Then copy over the whatever-it-is and put it in place with appropriate chowns and you should be laughing. Moving the large whatever-it-is out of the way should make the tarball produced by pkgacct small enough to be manageable.

    This has the advantage that you are still getting cpanel to do the real work (recreating mail accounts, ftp accounts, etc etc) without making the tarball too big to be unmanageable.
     
  6. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    thanks guys

    majority of the site is believe it or not is just html php and images....
     
Loading...

Share This Page