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.

Restore Account Problem

Discussion in 'General Discussion' started by dempsey, Aug 7, 2010.

  1. dempsey

    dempsey Active Member

    Joined:
    Jul 17, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I had the main HD in my server replaced as it was faultly, so I backed up the entire /home partition onto the new drive.

    I've then compressed the home directories and used /scripts/restorepkg to setup the accounts on the new HD.

    All has worked well for most accounts, but one paticular account keeps giving my problems when trying to restore.

    Trying via WHM I get:

    Code:
    Searching /home....
    Found grads.tar.gz !
    Extracting tarball...................
    ...............
    Done
    
    Extracting Domain....Done
    
    Sorry, the copy failed.  Unable to find the cpanel user file.  Is the archive missing (cwd: /home/cprestore loaded grads/cp/grads)?
    checked 13 files.....
    And via SSH I get:

    Code:
    cPanel restorepkg 2
    Force Mode: no
    Reseller Privs Restore: yes
    
    Searching /home....
    Found grads.tar.gz !
    Extracting tarball...................
    ...............
    ...............
    ...............
    ...............
    Done
    Extracting Domain....Done
    Sorry, the copy failed.  Unable to find the cpanel user file.  Is the archive missing (cwd: /home/cprestore loaded grads/cp/grads)?
    checked 13 files.....
    Any suggestions?
     
  2. nilesh_kolte

    nilesh_kolte Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Pune ,India
    cPanel Access Level:
    Root Administrator
    It seems that the /var/cpanel/users/username is missing from your old hard drive that cause while creating the backup it miss that file and it creating the problem.

    You can manually recreate the domain and then untar the zip manually and restore the account.
     
Loading...

Share This Page