Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running scanner on Linux

Status
Not open for further replies.

SueJ

Technical User
Jun 20, 2001
2
ZA
I have been asked to restore two directories to a Novell NetWare fileserver (Networker client), as backed up by Networker server running on a Linux box.

The backup was done on 30 Nov 2002. The directories do not appear in the list of directories that can be restored. The recycle/expiry time is set for 2 weeks but I still have the tape with the backup on it. The media index appears to be intact as I can, through the Administrator GUI, choose the Volumes tab and view the save sets on this tape.

I figured I need to run scanner to import the file index for that save set. I gave the following command:

scanner -m -S 3894939905 /dev/nst0

where 3894939905 is the savesetID of the set containing the directories I need, and /dev/nst0 contains the tape on which the saveset resides.

Here is the output from that command:

scanner: scanning LTO Ultrium tape UCT.570 on /dev/nst0
scanner: LTO Ultrium tape UCT.570 already exists in the media index


My questions are:
- Am I doing the correct thing for the result that I want?
- How can I establish how long this is going to take?
- Is there a way of monitoring how far the scanning has progressed?

My apologies if I've not used the correct terms - I have very limited experience with Legato.
 
An update. Stuff (see below) started spewing out onto my console session, until I hit Ctrl-C. It ended with a prompt (see below):

<snip, snip>
fÍfû­ÞÔñl{ÍCaU=¦tBóD!m*£ì·seÂe(=~Óg·) ÓºÞ«Éì¹2PßCÍËÉEäa¤-Õ3 $ï0
ùg{!«×57Ü9¡ÖE6¥¡Ùÿëø±À¦ç:E¸Kñ÷Cç%UNyZm¡®Wa4nT%o{éµ¾×dleÒß·9 ¼%¡¾óâîhN&)èaÇa'jz¹©ó¢+©)®#
scanner: the following save sets are still incomplete:
client name save set save time level size files ssid S
law.uct.ac.z VOL1: 11/30/02 4:52 f 0 0 3894939905 B
scanner: Press:
c<RETURN> to continue
n<RETURN> to go to next volume
q<RETURN> to quit
>

Needless to say, I have pressed &quot;q&quot;.

It looks like the saveset was being echoed to stdout. What should my command have looked like?
 


By using the -m you asked for just the media database part of the saveset. try:

scanner -i -S SSID /dev/nst0

this will rebuild the client file index for the saveset.

Or, assuming you are running 6.x you can use

nsrck -L7 -t date clientname (check the man page......)

this will recover the index back to that date for a particular client, without damaging your current index for that client.

John7
 
Your first attempt looks like NetWorker still new about that tape volume UCT.570. That's why it said that UCT.570 already exists in the media index. So at that point, you didn't have to run scanner.

Since your browse time is only 2 weeks, the saveset probably has been removed from the client file index for your Novell server.

I'm not too familiar with the NetWorker interface in NetWare, but I would look to see if I can perform a saveset recovery from the Netware server

If you have run the scanner -i as john7 had suggested, then you should be able to use the NetWorker gui on your NetWare server to browse and recover your files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top