Re: [BackupPC-users] What's using all this disk space?
2010-10-04 16:21:14
Robin Lee Powell <rlpowell AT digitalkingdom DOT org>
wrote on 10/04/2010 03:45:11 PM:
> On Mon, Oct 04, 2010 at
03:32:23PM -0400, Timothy J Massey wrote:
> > Robin Lee Powell <rlpowell AT digitalkingdom DOT org> wrote on
10/04/2010
> > 03:28:23 PM:
> >
> > > On Mon, Oct 04, 2010 at 03:25:03PM -0400, Timothy J Massey
> > > wrote:
> > > > Robin Lee Powell <rlpowell AT digitalkingdom DOT org>
wrote on
> > > > 10/04/2010 03:15:29 PM:
> > > >
> > > > > How do I find out which backups are using a lot
of disk?
> > > > > We'd like to see if there's a problem with our
retention
> > > > > policy, especially on database servers, but I've
no insight
> > > > > at all into where all this disk is *going*.
> > > > >
> > > > > Anyone got a script for this?
> > > >
> > > > I don't have a script for this, but if you look at
the host
> > > > page for each server, examine the "New Files"
section. This
> > > > will tell you which backups are consuming a lot of
space (i.e.
> > > > aren't pooling well).
> > >
> > > We have 200+ servers getting backed up on here. :)
> >
> > Well, then, you'll want to parse the pc/<hostname>/backups
file.
> > The 9th (New Files Count) and 10th (New Files Size) field (AFAICT)
> > are what you're looking for.
>
> *Ooooooooooooh*. I thought I had to write Perl to talk to the
> server. That's *easy*.
You don't have to write any Perl to
talk to the server: Craig has done an outstanding job of packaging
the functions of BackupPC into powerful command line functions. Virtually
anything you can do from the GUI (and more!) can be done from the command
line, using *any* language you want.
In addition, BackupPC stores everything
you see in the GUI in nicely formatted text files that can be processed
however you would like. The most important one being the "backups"
file in each host's directory.
I'm glad that pointing that out helped!
Tim Massey
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|