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.

Copy accounts from one hard drive to another

Discussion in 'General Discussion' started by buccaneerob, Mar 25, 2007.

  1. buccaneerob

    buccaneerob Active Member

    Joined:
    Feb 3, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I tried searching and wasn't able to find much on this subject...

    Basically the current hard drive on my server is failing. I'm in the process of having a new drive installed and just curious as to the easiest way to copy over all of the cpanel/whm config including account information etc, but not user's home directories.

    Any thoughts?

    Thanks
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    If you have backups you can restore the accounts from the .tar.gz files. When doing a restore this will recreate all the WHM/cPanel entries in the config files.
     
  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's relatively straightforward to do if you have the old disk mounted as a secondary slave. Follow this thread but skip the /home rsync (presumably that data is on another disk):
    http://forums.theplanet.com/index.php?showtopic=38797
     
  4. buccaneerob

    buccaneerob Active Member

    Joined:
    Feb 3, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Perfect! Thanks for the link.

    Unfortunately the /home is on the same disk...

    This should be fun tonight.

    Thanks chirpy
     
Loading...

Share This Page