From: Robin L. P. <rlp...@di...> - 2010-10-05 07:18:47
|
On Mon, Oct 04, 2010 at 03:32:23PM -0400, Timothy J Massey wrote: > Robin Lee Powell <rlp...@di...> 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 <rlp...@di...> 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. > > Sorry, no script. I've got one. Attached. Specialized for our environment, not productionalized or anything, but it works. -Robin -- http://singinst.org/ : Our last, best hope for a fantastic future. Lojban (http://www.lojban.org/): The language in which "this parrot is dead" is "ti poi spitaki cu morsi", but "this sentence is false" is "na nei". My personal page: http://www.digitalkingdom.org/rlp/ |