Networker

[Networker] recovering data from a client deleted under 5.x on a 6.x server

2002-10-17 19:34:09
Subject: [Networker] recovering data from a client deleted under 5.x on a 6.x server
From: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 17 Oct 2002 18:34:05 -0500
All-

I'm in the position where I need to restore some data from a full backup
that was done in mid-1999.  At that time we were running NetWorker 5.2p1
on a Tru64 UNIX 4.0f server.  Today the server is still the same OS &
hardware (for another couple weeks) but NetWorker is version 6.1.2.

The client was retired in 1999, an automatic clone was done of all data on
the machine at the time, and the clone tape has been kept.  The client was
deleted from within Networker (while we were at 5.2p1) and all ssids were
deleted from the media database.  If I look at the clone tape in question
within the "Volumes" window, it doesn't even show that any of the savesets
from that client exist on the tape, though they're there.

Yesterday I started a

        scanner -c the-client-name -i -p /dev/nrmt3h

and today I can see browseable savesets from that client on the volume in
question.  Today I ran

        mminfo -q 'volume=HECN GP Clone:033' -r 
client,name,savetime,level,clientid

to get the client id for the client in question.  That shows me a clientid
of `4294967295'.

I tried (re)creating that client within NetWorker using the X GUI by
selecting "Clients->Client Setup..." and then doing "View->Details"
followed by "create".  I typed in the fully qualified domain name of the
old client and I input the client id shown above into the clientid field.
I had to add an IP address and the exact fully qualified domain name to
/etc/hosts on the server, since the client no longer exists in the DNS,
but I got by that problem.

When I click "Apply" to create the client, though, I get an

        Invalid client id

dialog box.  I typed it exactly as shown and have tried retyping it etc.
No matter what I do, NetWorker will not accept that as a clientid, even
though I can see that that is the (old-style) clientid associated with the
data on the tape I want to restore from.

I suspect that if the client had still been defined when I upgraded our
NetWorker server from version 5.2p1 to 6.1.1 (and then later 6.1.2), the
old-style client id would have been converted to a new-style client id,
and I wouldn't be having this problem.  Unfortunately, that's not the
case, and there's not much I can do about that now.

I then decided to try just creating the client without trying to make the
client id match what's on the tape.  I was able to proceed, and a
new-style client id was automatically generated for the client.

The old client was a Solaris 2.5.1 or 2.6 box, and it was running Veritas
vxvm with UFS filesystems on top of the volumes.  I have a different
Solaris 2.6 box that is also running Veritas vxvm with ufs on top of them,
and I've added `root@existing-solaris-box' to the "Remote Access List"
in the client config for the client whose data I want to restore.

If I hop on the existing Solaris box and run

        recover -s server-name -c recreated-client-name

I get the error:

recover: Unable to determine file system type of client old-client-name.

and recover exits.  Since I couldn't do the easy interactive recovery
of data on the existing Solaris client, where I'm actually going to need
the data, I decided to try a partial saveset recovery on the server
itself.

If I try (on the server, not the remote Solaris 2.6 client that I
eventually want the data on)

        recover -s server -d /tmp/old-client-recovered -S 133377 /etc/passwd

to recover anything matching /etc/passwd from saveset 133377, I get the
following error from recover:

Recovering files within / into /tmp/old-client-recovered
NSR server `server': Cannot find the volume needed



At this point, I'm not sure how to proceed.  I can't recreate the client
with the same clientid it had under 5.x, because NetWorker won't let me.
I can't create it with a new client id and then try interactive recovery
to a still existing Solaris 2.6 platform because I get the "Unable to
determine file system type..." error message.  Finally, I can't do a
recovery by saveset id on the server because even though the "Volumes"
entry for the volume in question shows the savesets, and mminfo does too,
when I try specifying the ssid I get the "Cannot find the volume needed"
error from NetWorker.

Can anyone provide any suggestions on how I can proceed?  How do you
recover data from a client that's been deleted, and was deleted before
the upgrade to NetWorker 6.x?  I know where the data is, I know what
volume it's on, I know the ssids of all the savesets that contain data I
need, they appear as "browseable" within the volumes window of the GUI,
but I can't find any way to get NetWorker to actually let me restore the
data.

Any suggestions would be welcome at this point!

Thanks!

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>
  • [Networker] recovering data from a client deleted under 5.x on a 6.x server, Tim Mooney <=