Hi there ,
I need to change values of used quota for any user when I want, where are quotas data saved, and how can i change it Programmatically ?
Where are the data of quotas saved?
Moderator: Moderators
Where are the data of quotas saved?
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Where are the data of quotas saved?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Where are the data of quotas saved?
There is no answer or maybe I forgot, where is the answer?
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Where are the data of quotas saved?
/usr/data/quotas
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Where are the data of quotas saved?
/usr/data/quotas, This path only saves data for recovery، but it is not the actual data, if you change the value nothing changes.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Where are the data of quotas saved?
It's loaded into kernel memory for run time.
If you want to alter the value you should use
backup_quotas
Alter the number in /usr/data/quotas
restore_quotas
3 years you've been mucking around with quotas. What are you trying to achieve, and are you any closer to doing so?
If you want to alter the value you should use
backup_quotas
Alter the number in /usr/data/quotas
restore_quotas
3 years you've been mucking around with quotas. What are you trying to achieve, and are you any closer to doing so?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Where are the data of quotas saved?
I am busy with my work and I use Gargoyle just to divide the internet between my family in home, and every now and then I need some things to do with my router, so I come here.
Thank you for answering my question.
Thank you for answering my question.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Where are the data of quotas saved?
How to alter the number in quota ? I am not very familiar with SSH commands.Lantis wrote: ↑Sat Sep 28, 2019 6:10 amIt's loaded into kernel memory for run time.
If you want to alter the value you should use
backup_quotas
Alter the number in /usr/data/quotas
restore_quotas
3 years you've been mucking around with quotas. What are you trying to achieve, and are you any closer to doing so?