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.

Remove old backups when automatic backup

Discussion in 'Data Protection' started by esports, Jul 11, 2016.

Tags:
  1. esports

    esports Member

    Joined:
    Jan 6, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Hi,

    I am using WHM for automatic backups for each cPanel account into Amazon S3. For now I am doing it once per week, but I'd like to do it twice per week and keep the backups for a month.

    This means that after the 8th backup, the 9th one will replace the 1st one. The 10th will replace the 2nd one and so on. Therefore I'll always have just 8 backups stored.

    How could I set this up? Is it possible from WHM ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. esports

    esports Member

    Joined:
    Jan 6, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    If I understand correctly, Retention works only on the current server. Therefore, for S3 I have to write a custom script ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    This is correct, however it might not require a custom script. You can review the comments section on that feature request to view user-submitted workarounds involving the Amazon S3 management console.

    Thank you.
     
Loading...

Share This Page