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.

Controlling Backups

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

  1. BWS

    BWS Active Member

    Joined:
    Nov 20, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    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?)

    Thanks,
     
Loading...
Similar Threads - Controlling Backups
  1. ltellier
    Replies:
    2
    Views:
    94
  2. shashank
    Replies:
    9
    Views:
    397

Share This Page