Veritas-bu

RES: [Veritas-bu] Retrieving the expired image

2005-07-01 15:39:55
Subject: RES: [Veritas-bu] Retrieving the expired image
From: jdezan AT diveo.net DOT br (Julio Duarte de Assis Dezan)
Date: Fri, 1 Jul 2005 16:39:55 -0300
This is a multi-part message in MIME format.

------_=_NextPart_001_01C57E74.A872ED9C
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20
Hi,
=20
You can do the following
=20
Phase 1

# nohup bpimport  -create_db_info -id J819L2 -L /tmp/bpimport.phase1=20

Generate the image list

# bpimport -PM -s 01/01/04 15:00:00 -e 01/01/05 23:59:00 -id J81962 | =
awk '{print $5}' > /tmp/import_list

(the "-s" specify the start date and "-e" the end date)

Phase 2

# bpimport -Bidfile /tmp/import_list -L /tmp/bpimport.phase2 &

=20
After this you'll be able to restore the images in your expired tape.
=20
If the generation of the image list return an error code, you will need =
to expire the tape and repeat all the steps.
=20
Regards,
=20
Julio

-----Mensagem original-----
De: Sudharsan.N [mailto:nsudar AT rediffmail DOT com]
Enviada em: sexta-feira, 24 de junho de 2005 04:26
Para: veritas-bu AT mailman.eng.auburn DOT edu
Assunto: Re: [Veritas-bu] Retrieving the expired image



hi,

Further to my earlier mail.. some more inputs....


I have 2 medias in this media pool.

>From the first media I tried restoring the expired images (using =
bpimport) & it succeeded.But the backup I req is in the second media, =
when I do the bpimport it gives the error


# ./bpimport -create_db_info -id J819L2
Import phase 1 started Fri Jun 24 2005 11:16:36
INF - Create DB information for media id J819L2.
INF - Initiation of bptm process to read media id J819L2 was successful.
INF - Status =3D cannot perform specified media import operation.
cannot import media that media id is already active on some other server =
 <-- this message is coming in the activity monitor.






But I donot see this media being accessed or used any where.However I =
could run=20
bpmedialist -mcontents -m J819L2 on this media & it listed all the =
images in it (both expired & active ones)



Is there any way to release this media & retreive the backup??

Regards
skn



On Fri, 24 Jun 2005 Sudharsan.N wrote :
>Hi,
>
>I have an expired image in one of my media.Is there any way to retrive =
that? I am unable to change the expiration date of the expired images =
(bpexpdate -backupid BACKUPID -d infinity).System gives the error
>"no entity was found".
>
>I am able to change the exp.date of images on the same media which is =
not expired.
>
>when I try to import the media system gives the error
>
># ./bpimport -create_db_info -id J819L2
>Import phase 1 started Fri Jun 24 2005 11:16:36
>INF - Create DB information for media id J819L2.
>INF - Initiation of bptm process to read media id J819L2 was =
successful.
>INF - Status =3D cannot perform specified media import operation.
>
>
>Pls help out.
>
>Thanks & Regards
>skn
>




 <http://clients.rediff.com/signature/track_sig.asp> =20


------_=_NextPart_001_01C57E74.A872ED9C
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


<META content=3D"MSHTML 6.00.2800.1505" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D104432119-01072005>You=20
can do the following</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D104432119-01072005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=3D104432119-01072005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Phase 1</FONT></DIV>
<DIV>
<P><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D104432119-01072005># </SPAN>nohup bpimport&nbsp; -create_db_info =

-id&nbsp;J819L2&nbsp;-L /tmp/bpimport.phase1 </FONT></FONT></FONT></P>
<P><SPAN class=3D104432119-01072005><FONT face=3DArial color=3D#0000ff =
size=3D2>Generate=20
the image list</FONT></SPAN></P>
<P><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D104432119-01072005># </SPAN>bpimport -PM -s 01/01/04 15:00:00 -e =
01/01/05=20
23:59:00 -id&nbsp;<SPAN class=3D104432119-01072005>J81962</SPAN> | awk =
'{print=20
$5}' &gt; /tmp/import_list</FONT></FONT></FONT></P>
<P><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D104432119-01072005>(the=20
"-s" specify the start date and "-e" the end date)</SPAN></FONT></P>
<P><FONT face=3DArial color=3D#0000ff size=3D2>Phase 2</FONT></P>
<P><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D104432119-01072005># </SPAN>bpimport -Bidfile /tmp/import_list =
-L=20
/tmp/bpimport.phase2 &amp;</FONT></FONT></FONT></P></SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D104432119-01072005>After=20
this you'll be able to restore the images in your expired=20
tape.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D104432119-01072005>If the=20
generation of the image list return an error code, you will need to =
expire the=20
tape and repeat all the steps.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D104432119-01072005>Julio</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Mensagem original-----<BR><B>De:</B> Sudharsan.N=20
  [mailto:nsudar AT rediffmail DOT com]<BR><B>Enviada em:</B> sexta-feira, 24 =
de junho=20
  de 2005 04:26<BR><B>Para:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Assunto:</B> Re: 
[Veritas-bu]=20
  Retrieving the expired image<BR><BR></FONT></DIV>
  <P>hi,<BR><BR>Further to my earlier mail.. some more =
inputs....<BR><BR><BR>I=20
  have 2 medias in this media pool.<BR><BR>From the first media I tried=20
  restoring the expired images (using bpimport) &amp; it succeeded.But =
the=20
  backup I req is in the second media, when I do the bpimport it gives =
the=20
  error<BR><BR><BR># ./bpimport -create_db_info -id J819L2<BR>Import =
phase 1=20
  started Fri Jun 24 2005 11:16:36<BR>INF - Create DB information for =
media id=20
  J819L2.<BR>INF - Initiation of bptm process to read media id J819L2 =
was=20
  successful.<BR>INF - Status =3D cannot perform specified media import=20
  operation.<BR>cannot import media that media id is already active on =
some=20
  other server&nbsp; &lt;-- this message is coming in the activity=20
  monitor.<BR><BR><BR><BR><BR><BR><BR>But I donot see this media being =
accessed=20
  or used any where.However I could run <BR>bpmedialist -mcontents -m =
J819L2 on=20
  this media &amp; it listed all the images in it (both expired &amp; =
active=20
  ones)<BR><BR><BR><BR>Is there any way to release this media &amp; =
retreive the=20
  backup??<BR><BR>Regards<BR>skn<BR><BR><BR><BR>On Fri, 24 Jun 2005 =
Sudharsan.N=20
  wrote :<BR>&gt;Hi,<BR>&gt;<BR>&gt;I have an expired image in one of my =

  media.Is there any way to retrive that? I am unable to change the =
expiration=20
  date of the expired images (bpexpdate -backupid BACKUPID -d =
infinity).System=20
  gives the error<BR>&gt;"no entity was found".<BR>&gt;<BR>&gt;I am able =
to=20
  change the exp.date of images on the same media which is not=20
  expired.<BR>&gt;<BR>&gt;when I try to import the media system gives =
the=20
  error<BR>&gt;<BR>&gt;# ./bpimport -create_db_info -id =
J819L2<BR>&gt;Import=20
  phase 1 started Fri Jun 24 2005 11:16:36<BR>&gt;INF - Create DB =
information=20
  for media id J819L2.<BR>&gt;INF - Initiation of bptm process to read =
media id=20
  J819L2 was successful.<BR>&gt;INF - Status =3D cannot perform =
specified media=20
  import operation.<BR>&gt;<BR>&gt;<BR>&gt;Pls help =
out.<BR>&gt;<BR>&gt;Thanks=20
  &amp; Regards<BR>&gt;skn<BR>&gt;<BR></P><BR><BR><A=20
  href=3D"http://clients.rediff.com/signature/track_sig.asp"; =
target=3D_blank><IMG=20
  hspace=3D0=20
  =
src=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail=
.com/inbox.htm@Bottom"=20
  border=3D0 NOSEND=3D"1"></A> </BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C57E74.A872ED9C--

<Prev in Thread] Current Thread [Next in Thread>