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!

Controlling Backups

Discussion in 'cPanel Developers' started by BWS, Apr 18, 2012.

  1. BWS

    BWS Active Member

    Nov 20, 2003
    Likes Received:
    Trophy Points:
    For a while we've been customising some files so the backup scripts run how we want them to, but this seems to have broken since we upgraded to 11.32, I'm wondering if anyone can help.

    Because of the backup rotation/retention script we use, we need the weekly backups to only ever happen on a Sunday (we automatically edit the cpbackup-userskip.conf so our weekly backup users are only not in there on a Sunday).

    Until recently we would calculate the date last Sunday and add this as a timestamp to the the cpbackupstatus.cfg lastrun time for weekly backups. This worked fine. Now if we edit that file the daily backup doesn't even run!

    We need to be able to run the backup everyday and it do it's think, but force the weekly backup to happen on a Sunday, is this possible through other means? Alternatively, can you tell us what the backup looks for to determine whether it should do a backup (do we need to be "touch"ing certain directories and files?)


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