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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix directed recover help needed

Status
Not open for further replies.

cthrash

Technical User
Jun 3, 2004
29
US
When trying to run nwrecover from the Unix client, I get the following error message when browsing back to 12/2/06:

Nothing in index at this time

However, from my backup server, I can navigate to the Volumes tab and see a tape for this particular client with a saveset dating back to 12/2/06. Is there any way for me to restore the information from the server (tape) to the client? Would I need the tape with the index files on it as well? Thank you in advance for your help!
 
Did you specify <user>@<host> in the "remote access" field of the remote tab of the origin client?

You can recover the index using this command on the server:
nsrck -v -L 7 <client>
This will merge the actual index with the recovered index.
 
For a directed recovery you need the client file index. This information is deleted when the browse policy expired.

With the default policy (1 month) this will already be the case. If so, you must scan the save set first.
 
I forgot to mention that not only can I find a backup tape of the client from 12/2/06, I also have an index backup tape with the same date 12/2/06. Could you give me the particular commands I would run from the backup server to restore these particular files? I was under the impression that I could not do the restore from the client since it was giving me the error message I stated previously. Please advise. Thank you!
 
If you know what you are looking for, or just have lots of space, you can also use a Save Set recover. Then you don't need the Client File Index and you save one step. That recovers the whole save set if nothing else is stated, but you can also limit the restore by specifying the path you want to restore. Have a look at the recover -S option for that in the man or command ref pages.

If you like to be able to browse through your backups you will need to restore the index first with nsrck -L 7 -t <date> <client> as speculos already suggested. This merges the online index with the old one from tape and after that you should be able to browse through your backup.

Good luck!
 
I don't understand. Recovering the index backup would not make sense if you do not have acces to the tape with the actual data any more. In this case your backups would be lost.

You could restore the index info from your data media but you can not restore the data from your index backup media.
 
from your networker server, if as you state the you can see the volumes in the media index, run an mminfo for the client and identify the savesets you need to restore, and take note of their ssid's...

then as mentioned above, from the client system, run the recover command parsing the ssid...

this would work, and is simple enough without going too deep into the mminfo command etc

nsr server:
mminfo -av -c clientname -ot -r volume,client,"savetime(20)",ssid,name

from client:
recover -s nsrsvr -S ssid -S ssid2 -S ssid3
 
Before you run into problems ....
I do not know whether the command syntax for the mminfo above would work - i would modify it a little bit:

nsr server:
mminfo -av -c clientname -ot -r "volume,client,savetime(20),ssid,name"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top