Where are the data of quotas saved?
Moderator: Moderators
Where are the data of quotas saved?
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 ?
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 ?
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?
Re: Where are the data of quotas saved?
I'm in the same boat as a relative newcomer to command line. when I call restore_quotas I get "ERRROR WAN not defined". I can scp individual quotas to and from my computer to change the values, but then stuck on how to get them into kernel memory.
Doing a little googling gets me to the gargoyle_firewall_util.sh code, and I see the initialize_quotas section, but I'm definitely not qualified to understand what's going on in the code.
Doing a little googling gets me to the gargoyle_firewall_util.sh code, and I see the initialize_quotas section, but I'm definitely not qualified to understand what's going on in the code.
Re: Where are the data of quotas saved?
Can you post the full error log please?
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.