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!

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:
    17
    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:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. esports

    esports Member

    Joined:
    Jan 6, 2016
    Messages:
    17
    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:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    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.
     
    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