BackupPC-users

Re: [BackupPC-users] BackupPC-Visualize - visual plot of host backup durations

2013-02-11 11:01:17
Subject: Re: [BackupPC-users] BackupPC-Visualize - visual plot of host backup durations
From: Carl Cravens <ccravens AT excelii DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 11 Feb 2013 09:59:44 -0600
Thanks.  That was dumb of me... I've done a lot of Perl coding (since Perl 4), 
but I'm a little rusty.  I don't use host sorting much, so I hadn't noticed it 
wasn't working right.

On 02/02/2013 08:19 PM, The Lunatic wrote:
>
>
> On 01/28/2013 11:46, Carl Cravens wrote:
>> I've written a little tool to help analyze BackupPC "scheduling"
>> that I thought others might find useful.  It is meant to generate
>> plots that can be viewed from the web, but it's just as easily used
>> from the command line.
>>
>> https://github.com/ravenx99/backuppc-visualize/
>>
>
> This is interesting....though the sort by host doesn't work the way
> I expect....so I changed it
>
> --- bpcviz-gatherdata.orig    2013-02-02 18:59:43.227136515 -0600 +++
> bpcviz-gatherdata     2013-02-02 19:51:38.473136369 -0600 @@ -104,7
> +104,7 @@ if ( $sorttype eq 'time' ) { @data = sort { $b->[3] <=>
> $a->[3] } @data; } else { -    @data = sort { $b->[0] <=> $a->[0] }
> @data; +    @data = sort { $a->[0] cmp $b->[0] } @data; }
>
> I think hacked something up in a small html page that shows the
> image, and mod'd CGI/View.pm to show additional types using the same
> process as docs.
>
> I opted to add the extra links this way, because I wanted the plots
> to be considered internal to the BackupPC system and work whether
> the viewer is going direct or through a reverse proxy....
>
> Host sorting is helpful, because on some of my bigger hosts, I break
> up what is backed up and then use lockfile so that some of the
> portions are mutually exclusive.  And, now I can see the impact of a
> big full....
>

-- 
Carl D Cravens (ccravens AT excelii DOT com), Ext 228 (620.327.1228)
Lead System Architect

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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/