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.

Cron Job For Backups

Discussion in 'General Discussion' started by JZM, Feb 3, 2014.

  1. JZM

    JZM Member

    Joined:
    Aug 17, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    How can I write a cron so that it deletes the previous days back up at midnight - They are backed up to S3 so I am wanting to remove the local copy out of ~/backups
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Apparently you are using a custom backup script, not the one in cPanel is that correct?
    It would probably be a good idea to ask the author of the custom script you are using to backup to S3.
     
  3. JZM

    JZM Member

    Joined:
    Aug 17, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Peter,

    I have been there and tried that - I am using /http://s3backupwhm.com/
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page