cancel
Showing results for 
Search instead for 
Did you mean: 

backup exec reports "jobs summary" include directory details

levd
Level 4

Hi,

 

Does anyone know how to include the directory details in the "jobs summary" report? Or how to create a basic report with directory details in it? Not only how many files and folder exists but the names of the folders in it etc.

 

Thanks,

LEVD

1 ACCEPTED SOLUTION

Accepted Solutions

GaryGg
Level 2

The following is a rudimentary perl script which I've used to pull that info out of the detailed TXT job log:

#!c:/perl/bin/perl -w
use strict;

my ($in, $out, $buf, @wds, $w);
my $DEBUG = 0;

if ($#ARGV != 1) { &usage; }
$in = $ARGV[0];
$out = $ARGV[1];

open(IN,$in)||die "Can't open $ARGV[0] ($!)\n";

open(OUT,">$out")||die "Can't create output ($!)\n";
while(<IN>) {
     chomp $_;
     $buf = $_;
     @wds = split /\s+/, $buf;
     $buf="";
     foreach $w (@wds) {
        if ( $DEBUG && ($w=~ /\\/ ) ) {print $w."\n"};
        if ($w =~ /\\/ ) {print OUT $w."\n";}
     }
}

close(IN);
close(OUT);
print "Check output file $out\n";
exit 1;


sub usage() {
    print "$0 Infile Outfile\n";
    exit 1;
}

 

If Symantec hasn't changed the format of the logs from Ver. 12, it'll work for a Windows format. There's a different format for *nix logs.

View solution in original post

6 REPLIES 6

CraigV
Moderator
Moderator
Partner    VIP    Accredited

...check the canned reports, or you can create a customised report with the specific fields you are looking at.

Thanks!

levd
Level 4

I looked at the custom reports and cant find how to show backed up folder names etc.
Do you have some more information?

CraigV
Moderator
Moderator
Partner    VIP    Accredited

...if you increase the level of logging in your backup job log it will detail file and folder level at the expense of a larger job log size.

Thanks!

levd
Level 4

ok thanks i allready did that in settings, but i guess i have to wait a bit more.

Thanks!

 

GaryGg
Level 2

The following is a rudimentary perl script which I've used to pull that info out of the detailed TXT job log:

#!c:/perl/bin/perl -w
use strict;

my ($in, $out, $buf, @wds, $w);
my $DEBUG = 0;

if ($#ARGV != 1) { &usage; }
$in = $ARGV[0];
$out = $ARGV[1];

open(IN,$in)||die "Can't open $ARGV[0] ($!)\n";

open(OUT,">$out")||die "Can't create output ($!)\n";
while(<IN>) {
     chomp $_;
     $buf = $_;
     @wds = split /\s+/, $buf;
     $buf="";
     foreach $w (@wds) {
        if ( $DEBUG && ($w=~ /\\/ ) ) {print $w."\n"};
        if ($w =~ /\\/ ) {print OUT $w."\n";}
     }
}

close(IN);
close(OUT);
print "Check output file $out\n";
exit 1;


sub usage() {
    print "$0 Infile Outfile\n";
    exit 1;
}

 

If Symantec hasn't changed the format of the logs from Ver. 12, it'll work for a Windows format. There's a different format for *nix logs.

levd
Level 4

thx!