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.

Restore packages

Discussion in 'General Discussion' started by eagle, Feb 12, 2005.

  1. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    if you still havre your old Hrd drive they are in

    /var/cpanel/packages just cpy them to the new drive
     
  3. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    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)?
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    packages do not get copied only the package name
     
  5. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16

    Right, good to know ;) . I'll copy the packages every now and then manually.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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
     
  7. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, but I don't seem to have that, only the account.tar.gz files? I use the ftp backup.
     
  8. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    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
     
  9. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16

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

    Besides, as I stated earlier, I don't have the old drive working.

    But, thanks for your reply.
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page