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.

Can't restore

Discussion in 'Data Protection' started by jgmilleriii, Sep 20, 2011.

  1. jgmilleriii

    jgmilleriii Member

    Joined:
    Oct 14, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    We used cPanel backup to save our accounts via ftp to an NAS storage.

    The hard drive on the server has been corrupted and we're trying to restore those accounts from the NAS device.

    We can't restore, as we get the following error:

    "Sorry, we were unable to restore the account. Information about xxxxx's primary domain is either missing or corrupt. For more information, please examine /home/cprestore/xxxxx/cp/xxxxx
    checked 13 files..... "

    There is no information in that directory.

    Any help for these accounts?
     
    #1 jgmilleriii, Sep 20, 2011
    Last edited: Sep 20, 2011
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Did you create the account and then try to restore the backup to it? If yes, I wouldn't suggest you go that route. Restore a backup and let the backup (re)create the account for you.
     
  3. jgmilleriii

    jgmilleriii Member

    Joined:
    Oct 14, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    We did not create the account first, and cPanel will not create the account for us.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    How big was the account?

    Sounds like an incomplete backup.
     
  5. jgmilleriii

    jgmilleriii Member

    Joined:
    Oct 14, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    There are 20-30 accounts ranging from small to larger (9 gigs) all, all do not restore.
     
  6. John Bell

    John Bell Registered

    Joined:
    Oct 17, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I've just had a similar occurrence. When I unzipped the archive, there was no cp directory. the file in this dir is the account definition file that WHM needs to re-create the account.

    I copied this over from a working tarball and edited it to make it work.

    John
     
Loading...

Share This Page