Bacula-users

Re: [Bacula-users] file listing?

2011-03-15 13:48:34
Subject: Re: [Bacula-users] file listing?
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 15 Mar 2011 13:45:48 -0400
On 03/15/11 12:41, Kjetil Torgrim Homme wrote:
> I wrote a script to do this for me, I call it bacula-du, since it
> accepts many of the same options as du(1), and the output is the same.
> 
> Usage: bacula-du [OPTIONS] -j JOBID
> Summarize disk usage of directories included in the backup JOBID
> 
> Options are:
>   -a, --all             write counts for all files, not just directories
>   -b, --bytes           use size in octets rather than number of blocks
>   -B, --block-size=SIZE report SIZE-byte blocks (default 1Ki)
>   -m                    like --block-size=1Mi
>   -S, --separate-dirs   do not include size of subdirectories
>   -t, --threshold=SIZE  skip output for files or directories with usage
>                         below SIZE
>   -L, --largest=NUM     only print NUM largest directories/files
> 
> SIZE may be (or may be an integer optionally followed by) one of following:
> k (1000), Ki (1024), M (1000*1000), Mi (1024*1024), G, Gi, T, Ti, P, Pi.
> 
> I hope others can find it useful.

Kjetil,
Thanks, this looks like a useful tool.  I'm forwarding your post to the
bacula-devel list to make sure folks there see it too.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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>