Hello,

You can find the used space in the oc_filecache table, the size of the
"files" folder (other metadata/files are excluded from the quota
calculation)

Cheers,

Vincent

On 05/24/2014 10:08 PM, Alexander Födisch wrote:
> Hi,
>
> I would like to generate an overview of all user accounts created at
> our ownCloud server with following values:
>
> username - quota - used space
>
>
> quota:
> SELECT configvalue FROM <db>.oc_preferences where configkey='quota'
> and userid='<accountname>';
>
>
> If there is a hit, I use it, otherwise the default value is set for
> this user:
> SELECT configvalue FROM <db>.oc_appconfig where appid='files' and
> configkey='default_quota';
>
>
> But where can I find the information about used space of the user
> accounts?
>
> Thanks!
> _______________________________________________
> Devel mailing list
> [email protected]
> http://mailman.owncloud.org/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to