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!

Incremental Backup problem?

Discussion in 'Data Protection' started by simeon, Aug 15, 2017.

  1. simeon

    simeon Member

    Apr 1, 2003
    Likes Received:
    Trophy Points:

    I've got my backup configured to do incremental backups, yet I'm getting a folder for each date. All folders are about the same size - large. This doesn't seem to make sense, does it?

    Also, I have retention set to 1 (currently), but it doesn't seem to be doing anything. Every week I have to go in and delete the oldest backups, as they're filling up the drive.

    drwx--x--x 4 root root 4096 Aug 9 03:44 2017-08-09/
    drwx--x--x 4 root root 4096 Aug 10 03:39 2017-08-10/
    drwx--x--x 4 root root 4096 Aug 11 04:28 2017-08-11/
    drwx--x--x 4 root root 4096 Aug 12 04:36 2017-08-12/
    drwx--x--x 4 root root 4096 Aug 13 03:24 2017-08-13/
    drwx--x--x 4 root root 4096 Aug 14 03:25 2017-08-14/
    drwx--x--x 4 root root 4096 Aug 15 03:35 2017-08-15/
    drwx--x--x 3 root root 4096 Aug 15 08:26 2017-08-08/

    Thank you

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hi Simon,

    While it may appear as though each dated directory is taking up space on the server, the files are not actually duplicated. Instead, the incremental backup system uses hard links to save disk space. The following thread includes information about how this works:

    How do the backups work exactly?

    Could you review this thread and let us know if you have any additional questions?

    Do you have "Strictly enforce retention, regardless of backup success." enabled in "WHM >> Backup Configuration? If not, then it's possible one of the individual backups is failing to successfully complete, and thus the backups are not pruned. You can review the recent backup logs in /usr/local/cpanel/logs/cpbackup/ to see if any accounts are failing to successfully backup. Additionally, you can read more about how this works at:

    Backup Retention

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

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