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.

Problems restoring cP 10 backup on cP 11 server

Discussion in 'General Discussion' started by Xenon101, May 23, 2007.

  1. Xenon101

    Xenon101 Well-Known Member

    Joined:
    Mar 13, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    The client account on the old cP 10 server has already been removed, and all I have to show for it is the daily_1.tar.gz downloaded from client cpanel.

    I am trying to restore this using the full backup/cpmove feature in cP 11 but getting the following error.

    Anyone else come across this and maybe knows a fix?? Really need this to work! :(
     
  2. nithintou

    nithintou Member

    Joined:
    Dec 22, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    rename file to cpmove-username.tar.gx
     
    #2 nithintou, May 23, 2007
    Last edited: May 23, 2007
  3. Xenon101

    Xenon101 Well-Known Member

    Joined:
    Mar 13, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    the file is named cpmove-clientsname.tar.gz however it appears that it isn't that way in the directory structure, rather than the tar filename as the tar is already extracted.

    It's not actually a cpmove file generated from cPanel its a download of the daily backup. Could this be the problem?
     
  4. FC5_Slut

    FC5_Slut Member

    Joined:
    Sep 29, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I've come across the same with a full generated cPanel backup.

    Searching, Extracting, Done.

    Extracting Domain....Done

    Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /home/cprestore loaded <backupfile>

    checked <x> files.....
     
  5. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Same here:


    Restore for username

    Searching /home....
    Found username.tar.gz !
    Moving Packge to /home/cprestore/username.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 username/cp/username)?
    checked 5 files.....

    I assume it's because of the folder: /userdata/ [?] which is really missig from the original backup.
     
  6. nimon

    nimon Member

    Joined:
    Oct 16, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Is there any way to solve this problem?

    I need to restore a backup , I'm using a win server by ftp for backup and I got same error for restore:
    I moved the user.tar.gz from windows to cp server /home

    Searching /home....
    Found user.tar.gz !
    Moving Packge to /home/cprestore/user.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 user/cp/user)?
    checked 80 files.....
    How to restore this user?
    And how can I fix this problem on backup configuration?
     
  7. aboleth

    aboleth Well-Known Member

    Joined:
    Sep 8, 2005
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I'm having the same exact error, I've verified that the file does exist in the archive. anyone have an idea on this?

    Thanks,
    Nick
     
  8. rgpayne

    rgpayne Well-Known Member

    Joined:
    Feb 25, 2003
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Texas
    Come on Cpanel and answer from you would help here
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What is the ticket ID of the ticket you submitted?

    These forums are not a means by which to request support.
     
  10. alex.lucas

    alex.lucas Member

    Joined:
    May 21, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Same problem

    I had the same problem with a daily backup. Weird, but with a weekly backup the problem didn't happen and I was able to restore it.
     
  11. timw

    timw Registered

    Joined:
    May 27, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Trailing Space

    If the username for the account is copied and pasted from the old server's list accounts with a trailing space it seems that the transfer works but the restore doesn't because the "cpmove-someaccount .tar.gz" file cannot be read dueto the appended space in the file name.

    A bit of form validation from WHM to prevent usernames with trailing spaces being entered would solve the problem.
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Testing on cPanel 11.24.7-E37011, when using the account creation screen in WHM, trailing spaces are truncated. On the account modification screen in WHM, usernames with a trailing space are treated as invalid. So it appears the form validation you are looking for is either already implemented or will propagate to your servers in the near term.
     
  13. syrinx2112

    syrinx2112 Member

    Joined:
    May 28, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Is there a definitive answer as to how to resolve this?

    I am getting this same response when I try to restore and no matter what I do I get that message.

    I remember using this feature when I transferred from a smaller to a bigger server and it worked like a charm then.

    What I did: I did terminate my user account so the restore will recreate it and the db and all that goes with it, again, it did this the last time.

    So I ran this via WHM and command line and no luck... I get the same message..

    1. I make sure my backup gz file is in /home [I have tried using backup gz and the cpmove gz]
    2. I use WHM and specify my user. And I use /scripts/restorepkg --force 'username'
    3. And that is when I get that pain the a-s message..

    Please....is there a solution???

    Thanks.:mad::confused::eek:
     
  14. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    To anyone still experiencing this issue, I recommend letting our technical analysts take a look at this for you. This will allow us to trace what, exactly, is causing this error to appear.
     
Loading...

Share This Page