Recovering data from different server without client
Hi, I'm trying to recover data on a tape from another site using my NetWorker (7.4.1) server. I've got to the stage where got it to scan the tape and found the SSID of the save set I want to recover, and I have tried nsrndmp_recover but it complains about not being able to connect to the client specified (the client is not available here and NetWorker is not configured for it). This is what it says:
36223:nsrndmp_recover: Error : client resource not found for the criteria 42789:nsrndmp_recover: client = belfast saveset name = 42847:nsrndmp_recover: Not able to connect or authorize the recover host 'belfast' 42840:nsrndmp_recover: NDMP recover failed. 42880:nsrndmp_recover: Error during NDMP recover
What is the correct procedure for recovering a save set when the client does not exist?
But it talks about a condition where the client exists with a different clientid - in my case the client does not exist at all. Should I create a "dummy" client as described?
What is the correct way of using nsrndmp_recover to restore the files just to a local directory on the NetWorker server?
I assume this is NDMP data which means scanner won't populate index. In that case you must use ssid restore. And since this is filer data, it means you can restore it only back to same type of filer.
Thanks for the reply. I was using the SSID of the save set. By "same type of filer" does it have to be specifically the same model/hardware or any NetApp filer running a similar version of ONTAP?
Also, how would I get the clientid if the server that created the backup is no longer available?
EDIT: Found client id using mminfo -aVS on the media
Yes, I used the client ID of the original client from the save set I'm trying to recover. nsrndmp_recover is getting further than before but it seems to be hanging somewhere now - I'm not sure if the problem is trying to load the tape or what. NetWorker doesn't seem to recognise the volume label of the tape - the volume name doesn't appear in nsrjb or in the Management Console, though it is present in Media -> Volumes in the console, and it will list save sets there.
I just located this article as well that may help:
How to recover a client without performing a recovery from the original Backup Server
EMC KB Article esg57949
Goal: How to recover a client without performing a recovery from the original Backup Server
Goal: How to rebuild a client without the use of the backup server
Fact: Windows 2000 sp 01
Fact: NetWorker Server for Windows
Fact: NetWorker Client for Unix
Fact: Solaris
Fix: - Install the same version of the same Operating System and same version of NetWorker (install the NetWorker backup server on the new machine which will become the old Client)
- If the new machine will have a different name, then you will need to edit the hosts file on the New Solaris machine and add an entry for the old machine with a fake ip address (10.10.10.1)
- Create the old machine as a client in NetWorker on the new Solaris machine. Make sure, you create it using the same client ID as it existed on the original Backup Server.
This can be found by running the following command from the Original NetWorker Server: mminfo -av -c client_name -r "client, clientid"
- On the New Solaris machine, run nwadmin, go to Client --> Client Setup and select old client (client that backed up the files, which you just created)
- Enter *@* in the Remote Access field and then Click Apply
- Scan the volume that contains the backup for the client.
- Now you will need to perform a Directed recovery by running nwrecover from the new Solaris machine
- Go to Change --> Client, in nwrecover, and select the source client (old machine) and click OK
- Mark the root directory to recover everything
- Then select Recover
This should do it. Goal: How to recover a client without performing a recovery from the original Backup Server
Goal: How to rebuild a client without the use of the backup server
Fact: Windows 2000 sp 01
Fact: NetWorker Server for Windows
Fact: NetWorker Client for Unix
Fact: Solaris
Fix: - Install the same version of the same Operating System and same version of NetWorker (install the NetWorker backup server on the new machine which will become the old Client)
- If the new machine will have a different name, then you will need to edit the hosts file on the New Solaris machine and add an entry for the old machine with a fake ip address (10.10.10.1)
- Create the old machine as a client in NetWorker on the new Solaris machine. Make sure, you create it using the same client ID as it existed on the original Backup Server.
This can be found by running the following command from the Original NetWorker Server: mminfo -av -c client_name -r "client, clientid"
- On the New Solaris machine, run nwadmin, go to Client --> Client Setup and select old client (client that backed up the files, which you just created)
- Enter *@* in the Remote Access field and then Click Apply
- Scan the volume that contains the backup for the client.
- Now you will need to perform a Directed recovery by running nwrecover from the new Solaris machine
- Go to Change --> Client, in nwrecover, and select the source client (old machine) and click OK
Please review the process for recovery of data outside the retention policy and see if this helps. I beleive this will work for what you are attempting to do.
Thanks for the reply. I was using the SSID of the save set. By "same type of filer" does it have to be specifically the same model/hardware or any NetApp filer running a similar version of ONTAP?
Also, how would I get the clientid if the server that created the backup is no longer available?
EDIT: Found client id using mminfo -aVS on the media
I believe if it was NetApp it should be NetApp. Similar ONTAP versions should be ok.
Looking down further, I see that message you get is that you are restoring data from nonNDMP drive. Sounds as drive is not assigned to dummy filer (there is nothing dummy there actually, this is actual filer that will get data). My understanding is that you saved data originally on filer with attached drives, right? Now, to restore it, you need second filer with attached drives too.
Thanks Mark, I got it to recognise the media volume name after running that scanner command, however the uasm thing didn't work, I guess because it's an NDMP backup. The client is a NetApp Filer so I couldn't really use anything from your second reply.
@Hrvoje: I'm not sure exactly what you mean by "attached drives". This the filer I'm trying to restore to has a lot of disks and the same volume structure as the filer that the backup was made from.
My problem seems to still be that nsrndmp_recover does not understand the correct tape is mounted in the drive. In NetWorker Administration GUI if I go to Monitoring -> Log I get these two messages constantly when nsrndmp_recover is running and apparently doing nothing:
51302768466 event media Media notice: enable or check device(s); volume XFI918 needed
51302768514 event media Media notice: no matching devices on `server' for recover by client `dummy'
XFI918 is now being recognised by nsrjb, and NetWorker Administration (when I look at Devices -> Libraries) whereas before is was an "unknown" volume.
ble1
6 Operator
•
14354 Posts
•
56186 Points
1760
1
Posted April 8th, 2011 13:00
Create dummy client with same name as on server.
I assume this is NDMP data which means scanner won't populate index. In that case you must use ssid restore. And since this is filer data, it means you can restore it only back to same type of filer.