Backup configuration...
So in this section on WHM there is an option for...
__________________________
Check the Available Disk Space
If you enable this option and the available disk space is less than the amount that you specified, the system will not run the backup.
x %
____________________________
How exactly does this work? As in...
Does the sever look for x before the backups start?
or
Does the server calculate the space needed for the backup and then look for x in addition to the calculated backup?
Why I'm asking...
I currently have 56% available disc space. I set x to 50%, and the backups didn't run. Set to 40%, backups didn't run. Set space to 30%, and they ran (as least I think they did, i didn't get an error message, and the files on S3 have the correct date if they did!) :-p
What I am looking for is a number to set this too, that will let me know (warn me) that I'm using too much disc space, and need to increase it on my cloud server. Space is money these days!
Thanks for the help.
-
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 -
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" percentage0 -
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 -
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 -
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 -
I put it at 10% 0 -
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 -
Were you looking at overall disk space or just the disk space on the backup drive itself? 0 -
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 -
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 -
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.
Comments
12 comments