Hello,
what do you think about sorting the output from rsnapreport.pl
over the server names ?
I make snapshots from about 60 servers and for me it is much more easy
to read the reports, which are sorted according to the servernames.
Here is a little patch, maybe you find it usefull and will check it in.
--snip--
--- rsnapreport.pl.orig 2007-02-02 09:02:07.147409564 +0100
+++ rsnapreport.pl 2007-02-02 09:00:09.450246082 +0100
< at > < at > -35,7 +35,7 < at > < at >
$FORMAT_TOP_NAME="BREPORTHEAD";
select($ofh);
- foreach my $source (keys %bkdata){
+ foreach my $source (sort keys %bkdata){
if($bkdata{$source} =~ /error/i) { print "ERROR $source
$bkdata{$source}"; next; }
my $files = $bkdata{$source}{'files'};
my $filest = $bkdata{$source}{'files_tran'};
--snip--
--
Gruß
Dieter
--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
