Missing cP Userfiles in roughly 200 Backups - What to do?

stdout

Well-Known Member
Apr 10, 2003
189
7
168
Nelspruit, Mpumalanga, South Africa
cPanel Access Level
Root Administrator
[email protected] [/backup/cpbackup/daily]# mv alto-sax.tar.gz /home
[email protected] [/backup/cpbackup/daily]# /scripts/restorepkg alto-sax
Searching /home....
Found alto-sax.tar.gz !
<b>Moving Packge to /home/cprestore/alto-sax.tar.gz</b><Br>
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. Is the archive missing (cwd: /home/cprestore loaded alto-sax/cp/alto-sax)?
[email protected] [/backup/cpbackup/daily]#
 

stdout

Well-Known Member
Apr 10, 2003
189
7
168
Nelspruit, Mpumalanga, South Africa
cPanel Access Level
Root Administrator
Re

[email protected] [/backup/cpbackup/daily]# cat /home/cprestore/cpmove*/cp/alto-sax
IP=xxxx
STARTDATE=1052683726
DNS=alto-sax.com
RS=bluetrix
OWNER=root
PLAN=safvan_Plan-1
MAXFTP=99999
BWLIMIT=1258291200
MAXSQL=99999
MAXPOP=99999
MAXLST=99999
MAXPARK=99999
MAXADDON=99999
MAXSUB=99999
LANG=EnglishCP
[email protected] [/backup/cpbackup/daily]#
 

ispro

Well-Known Member
Verifed Vendor
Apr 8, 2004
628
2
168
chirpy said:
Have you checked the actual tarball:

tar -tzf /home/alto-sax.tar.gz
Chirpy, you should to know that this caused by cPanel, not by the archive intergrity.

We had had such issues periodically. Mostly they were for backups created by /scripts/pkgacct
The restore using /scripts/restorepkg doesn't work, but file in question does exist.

THE SOLUTION: Rename tar-ball from USERNAME.tar.gz to cpmove-USERNAME.tar.gz

This is the 'feature' of cPanel restore. If you have created backups manually they named as cpmove-someusername.tar.gz and you need to keep them the same!

EDIT: If you wish to create backups without cpmove prefix, like backups script does, use this command /scripts/pkgacct USERNAME /backup backup where USERNAME is the account username you need to copy.
 
Last edited: