Skip to main content

Backup configuration...

Comments

12 comments

  • ffeingol
    Here is the doc: Backup Configuration | cPanel & WHM Documentation Specifically " Select this checkbox to enable the system to check whether the server contains the minimum free disk space available to create local backups. " (i.e. the local backups part). Someone from cPanel can chime in, but I'm pretty sure there is no way to tell free disk space on S3 as it will just grow as needed.
    0
  • kodeslogic
    I would suggest keeping Check the Available Disk Space around 10-15%, as you're using the remote storage S3 untick Retain Backups in the Default Backup Directory option this will remove the backups from your server disk as soon as the backup is transported to S3 Regarding the Disk quota usage warnings you can adjust the warning parameters from WHM Home "Server Configuration "Tweak Settings "Notifications
    here adjust the Account system disk usage "warn" percentage
    0
  • rivermobster
    I would suggest keeping Check the Available Disk Space around 10-15%, as you're using the remote storage S3 untick Retain Backups in the Default Backup Directory option this will remove the backups from your server disk as soon as the backup is transported to S3 Regarding the Disk quota usage warnings you can adjust the warning parameters from WHM Home "Server Configuration "Tweak Settings "Notifications
    here adjust the Account system disk usage "warn" percentage

    I want to keep the backup files in both places as a safety net, in case there is a problem with one or the other. I'm a bit on the paranoid side. Understood on the Disc quota usage warnings. But here is the thing... 1. I can keep an eye on that easily, and I do. Like a hawk! lol 2. The only time I've had any issues (so far) was when the backups tried to run, and failed (causing database errors). My main concern at this point is making sure issue 2 Never happens again, so I want some kind of warning in place that will tell me, I'm low on space for them to run. Understanding HOW the server calculates the back up space warning would be a huge help to me. Thanks!
    0
  • cPRex Jurassic Moderator
    On my server I filled the disk space to 91% and then ran this: /usr/local/cpanel/bin/backup --force
    That gave me the following output: [2021-02-08 16:09:19 -0500] info [backup] Started at Mon Feb 8 16:09:19 2021 [2021-02-08 16:09:19 -0500] warn [backup] Available disk space (9 percent) is too low. Backups will not run.
    which would confirm that we just check the overall disk usage on the machine, with no fancy math involved.
    0
  • rivermobster
    On my server I filled the disk space to 91% and then ran this: /usr/local/cpanel/bin/backup --force
    That gave me the following output: [2021-02-08 16:09:19 -0500] info [backup] Started at Mon Feb 8 16:09:19 2021 [2021-02-08 16:09:19 -0500] warn [backup] Available disk space (9 percent) is too low. Backups will not run.
    which would confirm that we just check the overall disk usage on the machine, with no fancy math involved.

    What was the number you had in the Config Setting percentage box?
    0
  • cPRex Jurassic Moderator
    I put it at 10%
    0
  • rivermobster
    I put it at 10%

    Makes sense. I'm wondering why my deal seems like it's not working right, if you look at the numbers I posted in the first post. *scratching head*
    0
  • cPRex Jurassic Moderator
    Were you looking at overall disk space or just the disk space on the backup drive itself?
    0
  • rivermobster
    Were you looking at overall disk space or just the disk space on the backup drive itself?

    The available disk space on the local drive. The drive that is holding the data AND the local backup files.
    0
  • cPRex Jurassic Moderator
    Hmmmm...I'm not totally sure then. If you're able to reliably reproduce the issue you can always put in a ticket so we can check it out.
    0
  • rivermobster
    Hmmmm...I'm not totally sure then. If you're able to reliably reproduce the issue you can always put in a ticket so we can check it out.

    Strange huh. Doesn't make much sense to me either. Maybe tomorrow. Thanks.
    0

Please sign in to leave a comment.