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!

Clean Backups plug-in

Discussion in 'Data Protection' started by Kardonxt, Aug 31, 2015.

  1. Kardonxt

    Kardonxt Registered

    Joined:
    Aug 31, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    MI
    cPanel Access Level:
    Root Administrator
    The clean backups plugin was recommended (ndchost.com/cpanel-whm/addons/cleanbackups/) to me for automating old backup removal but I wanted to make sure this plugin will remove all old backups and not just backups for customers removed. The only option I see is:

    "Backup TTL
    How many days should a backup for an account that no longer exists stay in the backup directory before it is removed"

    Is this just poorly worded and the plugin will remove all backups past the specified date or does it only work for accounts that no longer exist?

    Any input would be appreciated, thanks!
     
    #1 Kardonxt, Aug 31, 2015
    Last edited by a moderator: Aug 31, 2015
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,954
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Have you considered simply configuring the retention periods for backups in "WHM >> Backup Configuration"? This will ensure backups are automatically removed after the configured retention period.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kardonxt

    Kardonxt Registered

    Joined:
    Aug 31, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    MI
    cPanel Access Level:
    Root Administrator
    Thanks for the reply. We are using legacy backup so unfortunately that wasn't an option.

    Cleanbackups does remove everything, in case anyone stumbles into this thread. I ended up making a script via terminal and ssh just to be safe (was trying to avoid figuring this out lol) and it doesn't find anything after clean backups runs. Oddly enough clean backups did find items left behind by my script if i ran them in the opposite order.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,954
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is there any particular reason you prefer to use legacy backups instead of the new backup system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Kardonxt

    Kardonxt Registered

    Joined:
    Aug 31, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    MI
    cPanel Access Level:
    Root Administrator
    Basically because I am a new employee with little knowledge of unix and none of whm / cpanel. I was tasked with cleaning up old backups and this is how they currently have the server configured. I didn't want to risk messing anything up making major changes lol.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,954
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The new backup system includes several improvements over the legacy backup system so it's worth checking out when you have additional time for testing.

    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