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

Francisco

Well-Known Member
Jun 3, 2003
99
0
156
Using:

[email protected] [/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
 

isputra

Well-Known Member
May 3, 2003
575
0
166
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.
 

stuartj

Member
Jul 17, 2003
18
0
151
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.
 

DigitalN

Well-Known Member
Sep 23, 2004
420
1
168
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?
 
Last edited: