Mass change quotas on domains with Quota = X MB

After adding new hard drive space to our Virtualmin server, we’d like to change the quotas for some (read, many but not all) users.

But I haven’t been able to find a way to find all domains with a quota that’s say, 50 MB. Once I have this list, I know I can use the command-line tool ‘virtualmin modify-domain --quota 100’ on each domain in that list.

Howdy,

You can get a list of all users and their quotas with this command:

virtualmin list-users --all-domains

You could use that output to script a update to the user quotas.

-Eric