find the image you need to restore from with bpimagelist then give it
the -media switch. This will give you the tapes that are needed for the
restore before initiating the job.
[root@lax1bkm1 /backups]# bpimagelist -U -policy tm1_backup
Backed Up Expires Files KB C Sched Type Policy
---------------- ---------- -------- -------- - ------------ ------------
06/10/2004 03:02 07/11/2004 237 225966226 N Differential tm1_backup
[root@lax1bkm1 /backups]# bpimagelist -U -policy tm1_backup -media
Media ID Last Written Server
-------- ---------------- ----------
T00042 06/10/2004 03:02 lax1bksvr1
T00094 06/10/2004 03:02 lax1bksvr1
Kendall, Scott APX wrote:
> It's great to know what tapes are needed if you have to request them from a
> remote location or go somewhere yourself to get them, but is it really worth
> all this hassle just to avoid resubmitting a pending request in Device
> Monitor or through the CLI?
> Once the pending request is resubmitted, everything just goes on its merry
> way like the tape was in there the whole time.
> - Scott
> -----Original Message-----
> From: Louis-Luc Le Guerrier [mailto:leguerri AT Canr.Hydro.Qc DOT Ca]
> Sent: Thursday, June 10, 2004 11:51 AM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Restore: Putting required tapes w/o needing to redo
> the restore
> Hello,
> I'm using NetBackup 5.0 on Solaris 9 with a robotic device.
> When I do a restore procedure ('bpadm', then 'u', 'r', 'b'),
> I select the files, and initiate the restore.
> Then I quit the interface and look at the logfile, and if
> it requests for a tape that is not in the robotic device, then
> I mount it, update the MM database so it sees the new tape(s).
> However, the active job seems locked and does not
> automatically pick the required tape even though it is in
> the robot and the MM database is already updated.
> Now I have to cancel that job, and go back in the interface
> to select the same files and initiate a new restore job.
> Is there a better way to do this? Either being able to
> suspend the job and resume it when the tapes are ready,
> or restarting the same job once tapes are ready, or making
> the job automatically detect the required tapes when they
> become available?
> Thanks for any information.
> Louis-Luc
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
--
Jason G Helfman, Ticketmaster
8800 W. Sunset Blvd.
West Hollywood, CA 90069
213/739-5174 Direct
310/345-1554 Cell
310/360-3300 Main
jason.helfman AT ticketmaster DOT com
GnuPG Fingerprint: A349 3CAA 5085 DC6E C485 7356 13C3 5772 F865 C926
|