Bacula-users

Re: [Bacula-users] Check space usage per client

2009-12-04 09:39:58
Subject: Re: [Bacula-users] Check space usage per client
From: "Caspar Smit" <c.smit AT truebit DOT nl>
To: "Mike Eggleston" <mikeegg1 AT mac DOT com>
Date: Fri, 4 Dec 2009 15:36:45 +0100 (CET)
Mike,

Sorry I'm fairly new to bacula, can you tell me how to use the query.sql ?
Or where I can find some documentation so I can find out.

Thanks in advance,
Caspar

> On Fri, 04 Dec 2009, Caspar Smit might have said:
>
>>
>>
>> Hi all,
>>
>> I wondered if there is a way to check how much
>> storage
>> space a client (filedaemon) is using?
>>
>> Kind
>> regards,
>> Caspar
>> Smit
>
> I added this query to my query.sql file.
>
> Mike
>
> # 20
> :List storage used by client and pool
> SELECT Client.Name AS Client, Pool.Name as Pool,
> sum(Job.JobFiles) as Files, sum(Job.JobBytes) as Bytes
> FROM Client, Job, Pool
> WHERE Job.ClientID = Client.ClientID and Job.PoolID = Pool.PoolID
> GROUP by Client.ClientID
> ORDER by Client.Name;
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>