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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,682
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,682
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,682
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page