eagle

Well-Known Member
Jan 17, 2003
139
0
166
Does anybody know how to restore all of the packages from a cpanel daily backup? After a crash I had to restore all of the accounts, and the packages with the accounts are back, but they do not appear with the root or reseller? So the reseller does not have any packages showing in the resellercenter!
 

eagle

Well-Known Member
Jan 17, 2003
139
0
166
dalem said:
if you still havre your old Hrd drive they are in

/var/cpanel/packages just cpy them to the new drive
Thanks for the reply, but all I have are the backup tarballs :(

Doesn't the packagelist get copied too (as all of the packages are in the accounts themselves and they are -also- copied)?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
The packages are backed up in the cPanel backups. They're in amongst the other files in:
daily/dirs/_var_cpanel.tar.gz
 

eagle

Well-Known Member
Jan 17, 2003
139
0
166
chirpy said:
The packages are backed up in the cPanel backups. They're in amongst the other files in:
daily/dirs/_var_cpanel.tar.gz
Thanks, but I don't seem to have that, only the account.tar.gz files? I use the ftp backup.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,984
159
368
SLC
cPanel Access Level
DataCenter Provider
chirpy is right the should be there where you backed up your old back ups
/cpbackup/weekly/dirs/_var_cpanel.tar.gz but I think you were asking if the packages got restored when you restore the sites and the answer is no


just scp them from your old hard drive to the new one takes 20 seconds
 

eagle

Well-Known Member
Jan 17, 2003
139
0
166
dalem said:
chirpy is right the should be there where you backed up your old back ups
/cpbackup/weekly/dirs/_var_cpanel.tar.gz but I think you were asking if the packages got restored when you restore the sites and the answer is no


just scp them from your old hard drive to the new one takes 20 seconds

Sorry, but there is no /dirs in the backup. Probably because ftp backup doesn't allow this:

Backup Config Files (not needed to restore specific accounts)
Besides, as I stated earlier, I don't have the old drive working.

But, thanks for your reply.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Yup, that's the problem with network backups (as opposed to backup locally and then FTP them off-server) in that they don't contain the files/ and dir/ backups.