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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Incremental Backup problem?

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

  1. simeon

    simeon Member

    Joined:
    Apr 1, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Hi.

    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

    Simon
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    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.
     
Loading...

Share This Page