Veritas-bu

[Veritas-bu] Get the year from bplist cmd

2003-07-22 00:06:58
Subject: [Veritas-bu] Get the year from bplist cmd
From: Andrew.Wilkin AT lands.nsw.gov DOT au (Andrew Wilkin)
Date: Tue, 22 Jul 2003 14:06:58 +1000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C35006.B2310A10
Content-Type: text/plain; charset="iso-8859-1"

Hi,
 
HPUX 11.00, NetBackup 4.5, DataCentre.
 
I'm trying to get the "year" displayed from the 'bplist' cmd, (the time
stamp for the backup for the files is displayed), it appears as though it
will print out the "year", if the backup is greater than 12 months old
(similar to the 'ls -l' command in Unix). 
 
This 'should' be possible to do, because if I look at the files backed-up
via the "Restore" Interface the "Year" is displayed, along with the
time-stamp of the backup.
 
the cmd I using is :-
 
bplist -B -C $CLIENT -s $STDATE $STTIME -e $EDDATE -S $MASTER -b -l -R
$SEAPATH
 
the result is similar to :-
-rwxrwxrwx mcroberj  mapping     300380320 Jun 30 14:34
/orthos/archive/imod24/xg452.tif

If the file has been backed-up longer than 12 months ago it would look like
:-
-rwxrwxrwx mcroberj  mapping     300380320 Jun 30 2003
/orthos/archive/imod24/xg452.tif
 
 
Thanks for any help

 
Regards 

Andrew Wilkin
Computer Systems Analyst 

Department of Lands
Panorama Ave
BATHURST, NSW, 2795, AUSTRALIA 

Ph: (02) 6332 8397
Fx: (02) 6332 8457
E-mail: Andrew.Wilkin AT lands.nsw.gov DOT au
WEB: www.lpi.nsw.gov.au < http://www.lpi.nsw.gov.au
<http://www.lpi.nsw.gov.au/> > 

 


***************************************************************
This message is intended for the addressee named and 
may  contain confidential information. If you are not the 
intended recipient, please delete it and notify the sender. 
Views expressed in this message are those of the 
individual sender, and are not necessarily the views of the
Department of  Lands.

This email message has been swept by MIMEsweeper 
for the presence of computer viruses.
***************************************************************


------_=_NextPart_001_01C35006.B2310A10
Content-Type: text/html; charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2><SPAN class=341063303-22072003>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>HPUX 11.00, NetBackup 4.5, 
DataCentre.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>I'm trying to get the "year" 
displayed from&nbsp;the 'bplist' cmd, (the time stamp for the backup for the 
files is displayed), it appears as though it will print out the "year", if the 
backup is greater than 12 months old (similar to the 'ls -l' command in Unix). 
</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>This 'should' be possible to 
do, because if I look at the files backed-up via the "Restore" Interface the 
"Year" is displayed, along with the time-stamp of the 
backup.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>the cmd I using is 
:-</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>bplist -B -C $CLIENT -s 
$STDATE 
$STTIME -e $EDDATE&nbsp;-S $MASTER -b -l -R $SEAPATH</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>the result is similar to 
:-</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>-rwxrwxrwx mcroberj&nbsp; 
mapping&nbsp;&nbsp;&nbsp;&nbsp; 300380320 Jun 30 14:34 
/orthos/archive/imod24/xg452.tif<BR></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>If the file has been backed-up 
longer than 12 months ago it would look like :-</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>-rwxrwxrwx mcroberj&nbsp; 
mapping&nbsp;&nbsp;&nbsp;&nbsp; 300380320 Jun 30 2003 
/orthos/archive/imod24/xg452.tif</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003>Thanks for any 
help<BR></DIV></SPAN></FONT>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2><SPAN class=341063303-22072003></SPAN></FONT><FONT 
size=2>Regards</FONT> </DIV>
<P><FONT color=#000080 size=2>Andrew Wilkin</FONT><BR><FONT size=2>Computer 
Systems Analyst</FONT> </P>
<P><FONT size=2>Department</FONT> <FONT size=2>of Lands</FONT><BR><FONT 
size=2>Panorama Ave</FONT><BR><FONT size=2>BATHURST, NSW, 2795, 
AUSTRALIA</FONT> 
</P>
<P><FONT size=2>Ph: (02) 6332 8397</FONT><BR><FONT size=2>Fx: (02) 6332 
8457</FONT><BR><FONT size=2>E-mail: Andrew.Wilkin@</FONT><FONT 
size=2>lands</FONT><FONT size=2>.nsw.gov.au</FONT><BR><FONT 
size=2>WEB:<U></U></FONT><U> <FONT color=#0000ff size=2>www.lpi.nsw.gov.au 
&lt;<A href="http://www.lpi.nsw.gov.au/"; 
target=_blank>http://www.lpi.nsw.gov.au</A>&gt;</FONT></U> </P>
<DIV>&nbsp;</DIV><CODE><FONT SIZE=3><BR>
<BR>
***************************************************************<BR>
This message is intended for the addressee named and <BR>
may  contain confidential information. If you are not the <BR>
intended recipient, please delete it and notify the sender. <BR>
Views expressed in this message are those of the <BR>
individual sender, and are not necessarily the views of the<BR>
Department of  Lands.<BR>
<BR>
This email message has been swept by MIMEsweeper <BR>
for the presence of computer viruses.<BR>
***************************************************************<BR>
</FONT></CODE>
</BODY></HTML>

------_=_NextPart_001_01C35006.B2310A10--

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Get the year from bplist cmd, Andrew Wilkin <=