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.

Sorry, the copy failed. Unable to find the cpanel user file

Discussion in 'General Discussion' started by Francisco, Oct 5, 2004.

  1. Francisco

    Francisco Well-Known Member

    Joined:
    Jun 3, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    Using:

    root@mainstream [/home]# /scripts/restorepkg juvnile
    Searching /home....
    Found cpmove-juvnile.tar.gz !
    Extracting tarball....<script>window.scroll(0,175);</script>...............
    Done<br>
    Extracting Domain....Done<br>
    Sorry, the copy failed. Unable to find the cpanel user file


    I get an error: Sorry, the copy failed. Unable to find the cpanel user file

    How can I fix this? Thanks
     
  2. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    I have this problem once and after tried to restore backup using Restore a Full Backup/cpmove file from WHM, my backup extract successfully.

    Try it :D

    But first you must move your backup file to /home directory.
     
  3. stuartj

    stuartj Member

    Joined:
    Jul 17, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    You have the file in the correct location as restorepkg has found it the cpanel user not found error is normally an indication it is currupted or some info is missing if you have a copy of it on another box or the user still you would be better using that.

    If not your need to use the untar method its on here somewhere its back towards last november 2003 when I tried it and it did work for me. The next best thing is to seek cpanel support in the matter.
     
  4. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    There are a few causes it could be.

    If you extract the file (cpmove-user.tar.gz) manually, does it leave you with a 'cpmove-user' directory or a 'user' directory?

    The backups saved using the whm backups save the files as user and user.tar.gz whereas the restorepkg script is looking for cpmove-user - If you renamed a backup archive cpmove-user.tar.gz from user.tar.gz and moved it to home, that wouldn't be enough.
    You need to extract the archive, rename the resulting directory to cpmove-user, then tar that up again, and then move it to /home/cpmove-user.tar.gz and run /scripts/restorepkg user

    Does this help?
     
    #4 DigitalN, Oct 7, 2004
    Last edited: Oct 7, 2004
Loading...

Share This Page