cPanel Transferring is and has always been very faulty...
I think cPanel in the next edition should create a new system..
cPanel Transferring is and has always been very faulty...
I think cPanel in the next edition should create a new system..
Shock Hosts
__________________________________________________
Simply Hosting. Simply Good. | Quality Web Hosting.
Sales: Sales@ShockHosts.Net | Support: Support@ShockHosts.Net
Visit ShockHosts Now!
Try manually importing it with pkgrestore from SSH command line. I think that's what I've used in the past. If the account name is "acct" you would use:
pkgrestore acct
This may give the same error, as it's the underlying tool that the restore process uses, but at least you'll probably see more of what's happening.
Is the suffix .tar.gz? For instance, /home/cpmove-acct.tar.gz ?
Where would pkgrestore be found? It's not in the /scripts directory.
Yes the suffix is .tar.gz.
Uhhh ... sorry ... my mistake, pkgrestore is actually called "restorepkg" and is found in /scripts.
You should be able to use "/scripts/restorepkg accountname" to restore a file - it gives a helpful error message, which also makes clear it's the underlying tool that cpanel calls to restore an account when you do a restore via WHM. I seem to remember when WHM doesn't work that restorepkg worked.
Welp, it didn't work. Here's my results:
As you can see, I have a copy of the file both with the backup* and cpmove* prefixes on them, they're in the /home directory, and the script cannot fid any files with with those prefixes.Code:root@cpanel [~]# cd .. root@cpanel [/]# cd home root@cpanel [/home]# ls ./ emhs/ taes/ ../ gtg/ tameone/ admin/ justen/ timothy/ backup-6.12.2006_11-37-02_alexis.tar.gz last2act/ tiwonge/ bethesda/ maxx/ uswf/ client/ moms/ vcw/ .cpan/ MySQL-install/ warz/ cpmove-alexis.tar.gz naw/ willow/ cptmp/ patriot/ eblade/ roe/ root@cpanel [/home]# /scripts/restorepkg cpmove-alexis.tar.gz Searching /home.... No Restorable archives found! Searching /usr/home.... No Restorable archives found! Searching /web.... No Restorable archives found! Searching /home2.... No Restorable archives found! Searching /home3.... No Restorable archives found! Searching /root.... No Restorable archives found! Searching /usr.... No Restorable archives found! <br><br><b>No archives where found!!</b><br><br> This feature will restore full backups, cpanel backups and cpanel move files in the format of: cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz<br><br> The files must be in one of these directories on the server: /home,/usr/home,/web,/home2,/home3,/root,/usr<br><br><b>You must upload the file to one of the above locations before using this feature.</b> root@cpanel [/home]#
No wonder it's not working!
It's:
/scripts/restorepkg alexis
![]()
Huzzah! Yep that works. Thanks for taking the time to show me how it all works. This has been darn fustrating!
I remember being confused about the same thing when I first used it - you'd expect to restore the file, but cpanel wants to know the user! (which I suspect you can't change - but it would be interesting to try!).