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.

Copying single account from slave drive?

Discussion in 'Migrate to cPanel' started by tmallardi, May 1, 2012.

  1. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    After a recent OS corruption, my server has been reloaded with a fresh OS and cPanel. The previous hard drive, although no longer bootable, is still readable and has now been mounted as a slave.

    It appears to me that that the cPanel migration scripts are designed to use backed up data only.

    Is there a script that will grab an existing user folder from a local hard drive and properly migrate it back into cPanel?

    Thank you in advance,
    Tim
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Just to clarify, you can read and copy the data but you cannot run any commands on that drive, right? If so and there are no existing backups, you'd need to manually copy the data instead. The only way to get the data into a packaged account is to be able to run /usr/local/cpanel/scripts/pkgacct username from command line.
     
  3. backupgreen

    backupgreen Registered

    Joined:
    Oct 5, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The following article may help.
    blog.eukhost.com/webhosting/restoring-cpanel-server-from-crashed-harddisk-or-migrating-cpanel-servers/

    Note: Ask from expert before run any of above commands.
     

Share This Page