I cannot recover on the client by ssid after having performed a manual
save on the client as:
# save -s server -g group -b pool -l full -N /mnt/data/data1/bkups/2001
/data/data1/data1/bkups/2001
where /data/data1/data1/bkups/2001 is the local directory (NFS mounted
to /mnt/data/data1/bkups/2001). client:/data/data1/data1 is automounted
(NIS) to /mnt/data/data1
NetWorker produces the following message but recovers no data:
# cd /test/recover_test
# recover -s server -d /test/recover_test -S ssid
Recovering files within /mnt/data/data1/bkups/ into /test/recover_test
Received 0 matching file(s) from NSR server `server'
Recover completion time: Wed Oct 21 14:56:30 2009
But if I run nsrinfo and specify the nsavetime for the ssid, it does
list the data, but beginning with the fully qualified path
(/data/data1/data1/bkups/2001) and not the NFS path
(/mnt/data/data1/bkups/2001). mminfo lists "/mnt/data/data1/bkups/2001".
If instead I run this:
# cd /test/recover_test
# recover -s server -d /test/recover_test /mnt/data/data1/bkups/2001
Then that works, (ditto for nwrecover) but I need to be able to recover
by ssid, long after the data is no longer browsable. I want NetWorker to
record the save set name in the media database as whatever I provide as
the symbolic name, not what I list as the actual path. How can I
accomplish this and still be able to recover by SSID?
I have found only two solutions:
1. Don't specify the leading '/' on the symbolic name by running the
save as:
# save -s server -g group -b pool -l full -N mnt/data/data1/bkups/2001
/data/data1/data1/bkups/2001
This works, but recovers the data as: "data/data1/bkups/2001" and
doesn't include the preceding "mnt/" portion. nsrinfo still lists the
actual path (/data/data1/data1/bkups/2001). mminfo lists
"mnt/data/data1/bkups/2001".
OR
2. Run the save using the '-L' option, specifying the NFS mount point
directly as:
# save -s server -g group -b pool -l full -L /mnt/data/data1/bkups/2001
This works but recovers the data as: "2001" and doesn't rebuild anything
above that. nsrinfo does list the NFS path (/mnt/data/data1/bkups/2001).
mminfo lists "/mnt/data/data1/bkups/2001".
I have tried all kinds of combinations of '-x', '-B', '-L', etc. Doesn't
seem to matter.
Anyone have any ideas?
--
George Sinclair
Voice: (301) 713-3284 x210
- The preceding message is personal and does not reflect any official or
unofficial position of the United States Department of Commerce -
- Any opinions expressed in this message are NOT those of the US Govt. -
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|