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.

11.36 and cpbackup

Discussion in 'Data Protection' started by pla, Mar 15, 2013.

  1. pla

    pla Member

    Joined:
    Oct 26, 2012
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Not sure if this is the right place as the forum description says it's for 11.34. Anyway...

    Since the upgrade to 11.36 cpbackup has been failing. Upon inspection, it has the old shebang path, not the new one (like other scripts in the same directory). Fixed it by hand (that horrendous bit of shell at the start) and ran the script, which worked.

    Next day, the backup failed. The old shebang path (/usr/bin/perl) was back. Fixed it by hand and ran the script, which worked.

    Next day, guess what? That's right.

    Fixed it by hand again. Ran upcp (which was the obvious suspect) and it remained OK.

    The setup was previously handled by somebody else who left the company before I joined. It's possible something he did is responsible for this, but I can't find it.

    What I'm hoping is that you neglected to fix cpbackup at source, meaning that upcp kept putting the old version in place, and that you've now fixed the problem. That would mean I can stop looking. Or, it's still broken at source and something other than upcp is replacing cpbackup every night but now I've told you of the problem you'll fix it at source.

    Keeping my fingers crossed...

    --
    Paul
     
  2. pla

    pla Member

    Joined:
    Oct 26, 2012
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    To answer my own question, since nobody else wants to...

    The problem seems to have gone away on the next backup after I posted this, so it looks like it was cpbackup not having been updated and the cp script fairy replacing it overnight until somebody at cp fixed cpbackup.

    It would have been nice if somebody at cp had confirmed this because otherwise I'm left with a tiny worry that maybe it's really something my predecessor left behind on the system occasionally misbehaving.

    --
    Paul
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Paul,

    It would be best if you could open a ticket using the link in my signature so we could look at the server. This isn't something I have seen happening elsewhere.
     
  4. pla

    pla Member

    Joined:
    Oct 26, 2012
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    As I said, the problem was there the first two or three days after the upgrade then mysteriously went away. Not much point opening a ticket for something that's no longer reproducible.

    --
    Paul
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    We last modified scripts/cpbackup on Nov 29, 2012. Those changes were for the shebang changes. It's quite possible your predecessor had something in place that temporarily prevented the script from being updated. That's pure speculation however.
     
Loading...

Share This Page