Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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,609
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice