Why not quotas on backup disk? is there a way to enable quotas?

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
On my server i used to have the main disk (a 256gb disk) everything worked fine until yesterday that i add a second disk (a 512gb drive) in order to move some large accounts to it because is almost full, also i changed the backup directory (incremental, not retain backups) to this new drive, the problem is that the drive now refuses to enable quotas because the backup directory is in there, quotas are important and i cant buy another drive for backups only

why is not possible to enable quotas on the second disk when i configure the backup directory there but possible when backup directory is on the main disk? this have no sense to me

is there any way to enable quotas on the second disk and have the backup directory on there too?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,498
1,971
363
cPanel Access Level
Root Administrator
Hey there! When quotas are enabled on the same disk as the backup it drastically affects performance and can seriously slow down the server. You'll see this noted in our Backup Configuration documentation here:


"To prevent performance degradation, the system automatically disables quotas on non-root filesystems that contain a backup destination."
 

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
Hey there! When quotas are enabled on the same disk as the backup it drastically affects performance and can seriously slow down the server. You'll see this noted in our Backup Configuration documentation here:


"To prevent performance degradation, the system automatically disables quotas on non-root filesystems that contain a backup destination."
I already read that, what i dont understand is why when i have one disk only it can handle OS, CPANEL, WEBSERVERS AND APPS, ACCOUNTS, QUOTA and BACKUP, its more work to the disk, and why if i want to have a 2nd disk it cant handle quotas and backups, it is not reasonable

is there a way to allow quotas and backup? i have nvme disks i dont think it can slow down the server if it doesnt do with a simple disk that handles all other things at once
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,498
1,971
363
cPanel Access Level
Root Administrator
That's actually a really good question, and one I didn't find an answer to in our system. I've reached out to some of the developers that work on the backup system to see if they can get me more details, and I'll post an answer as soon as I hear back. Since it's Friday now, it might not be until Monday or Tuesday before I have something more official.
 
  • Like
Reactions: tui

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,498
1,971
363
cPanel Access Level
Root Administrator
I heard back from the developers on the backup team, and the best answer they had is that it was a decision made at the time the current backup system was built. I'm actually not sure there *is* a specific reason this needs to be in place with modern hardware.

Our team is working on creating an option that would allow you to skip this check so quotas could be created on any mount point, although it's so early on I don't even have a case number to provide at this time. I'll be sure to post to this thread again once I hear more details.
 

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
I heard back from the developers on the backup team, and the best answer they had is that it was a decision made at the time the current backup system was built. I'm actually not sure there *is* a specific reason this needs to be in place with modern hardware.

Our team is working on creating an option that would allow you to skip this check so quotas could be created on any mount point, although it's so early on I don't even have a case number to provide at this time. I'll be sure to post to this thread again once I hear more details.
Ok, thanks for the update... is there any way to bypass this?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,498
1,971
363
cPanel Access Level
Root Administrator
There isn't an official workaround to bypass this at this time. Messing with both backups and quotas at once can have major repercussions, so even if I had a hack-around (which I don't) I'd be hesitant to post it on the forums.
 

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
any update on this? We have new ugly themes but not new features, new options, new usability things, only ugly themes since 2+ years
 

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
I don't believe there is going to be an update to this anytime in the near future. It's not something that is a planned change in the backup system.
This is not exactly something on the backup system, is more something on the "Initial quota setup" part that prevent to enable quotas on disk that is selected for backups if is not the main disk.... this makes no sense, i think is more a bad behavior that must be corrected, i dont think its a time consuming change.... do you (cPanel) really have interest on make a better product as you used to be? In the last two years i havent see anything interest on the product itself rather than the price increases, bugs, headaches, visual bugged and patched changes and laziness on everything
 

Spirogg

Well-Known Member
Feb 21, 2018
700
161
43
chicago
cPanel Access Level
Root Administrator
@cPRex @tui

Can you keep the backups on the original drive that will keep the quota? and then transfer to the new disk.

maybe have only some smaller Cpanel accounts on the smaller drive so you can get the backups with quota and then transfer them to larger drive.?

im not an expert but just thinking out of the box. if you backup to small drive and then transfer to larger drive. until they make that option available, if this is even possible just wondering?
 

Intekhab

Member
Apr 22, 2007
13
0
151
While setting up my server I used 100GB for / and rest of the space for /home.
I use remote FTP server to store my backups.

I didn't consider any issue to use /home/backup for temp holding the backups before the transfer or even storing it there.

But recently I noticed disk usage of my users are not being reported correctly and realized that quota is being disabled due to having using /home/backup
As my data center (sys) does not offer to add additional disks, I tried out to use /backup (backup dir under /).

But while performing the backup job today, my backup process failed for filling up the /. While most of my accounts are under 10GB, I have 1 acc over 100GB.

Any suggestion on how I can continue keeping remote backups while keeping quota enabled in /home (so users are not using more space than they have purchased)?
I do care about performance degradation during backup run. They run at night time when not many people are using services.
 

tui

Well-Known Member
Jun 15, 2007
144
40
78
Mexico
cPanel Access Level
Root Administrator
While setting up my server I used 100GB for / and rest of the space for /home.
I use remote FTP server to store my backups.

I didn't consider any issue to use /home/backup for temp holding the backups before the transfer or even storing it there.

But recently I noticed disk usage of my users are not being reported correctly and realized that quota is being disabled due to having using /home/backup
As my data center (sys) does not offer to add additional disks, I tried out to use /backup (backup dir under /).

But while performing the backup job today, my backup process failed for filling up the /. While most of my accounts are under 10GB, I have 1 acc over 100GB.

Any suggestion on how I can continue keeping remote backups while keeping quota enabled in /home (so users are not using more space than they have purchased)?
I do care about performance degradation during backup run. They run at night time when not many people are using services.
There is no way, the only thing you can do is disable the backup for the account over 100GB so it dont fill all your disk, if the backup process fail for any reason, your backup directory keeps the backups so your disk will fill very fast,

Quotas can be enabled on your mai disk with your accounts and backups, the only way that quotas cant be enabled is when you use your backup destination in another disk that is not your main disk.

I understand that / and /home is the same disk (thats the way cpanel works when installed it) unless you make a custom configuration or custom partition where / and /home are on different disk or partitions and you configure your backup destination folder (temporally) on /home along with your accounts there is no way to enable quotas on it, why? i dont understand why cpanel dont allow it, its just a decision that cpanel made in past and still until now.

This is my feature request, you can vote is if you want: Enable quotas on quotas on any mount point even if it contain a backup destination
 
Last edited:
  • Like
Reactions: cPRex