Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

postcpbackup script not working

Discussion in 'Data Protection' started by chheda, Jun 8, 2013.

  1. chheda

    chheda Registered

    Joined:
    Sep 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    I have CENTOS 6.4 x86_64 virtuozzo installed with WHM 11.36.1 (build 8).

    I am trying to rotate my cPanel/WHM backups using the script from https://github.com/tripflex/postcpbackup. However, when the script executes nothing happens.

    a. I have set the correct permissions
    root@cloud [/scripts]# ls -al | grep postcpbackup
    -rwxr-xr-x 1 root root 3625 Jun 8 15:42 postcpbackup*

    b. cpanel backup calls it, i can see it in logs (/usr/local/cpanel/logs/cpbackup).
    [cpbackup] The following backups were already up to date: weekly,monthly
    [cpbackup] Executing user defined post backup script (/usr/local/cpanel/scripts/postcpbackup).
    [cpbackup] Completed at Sat Jun 8 15:45:00 2013

    c. No output shows up when I execute test=echo /scripts/postcpbackup
    root@cloud [/scripts]# test=echo /scripts/postcpbackup
    root@cloud [/scripts]#


    Please help what I am doing wrong.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chheda

    chheda Registered

    Joined:
    Sep 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    It sounds like an issue with the individual script because it does not run on it's own. Have you reviewed the changes to the backup system in cPanel version 11.38? The release notes are available at:

    cPanel 11.38 - Improved Backup System

    It's possible these changes negate the need for a third-party script in this case. cPanel version 11.38 was pushed out to the Release tier today, so you may want to update and see if the new features are helpful.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice