Networker

[Networker] Any way to recover save sets with input file?

2011-12-19 21:02:41
Subject: [Networker] Any way to recover save sets with input file?
From: George Sinclair <george.sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 19 Dec 2011 21:00:51 -0500
Is there a way to recover multiple save sets using recover with the '-S ssid' option wherein
you list the ssids in an input file like you can with nsrclone?

I looked over the man page for recover, and I don't see an option to pass it an input file that lists the ssid/cloneid pairs or even just ssids that you want to recover. So I either have to list all the ssids on a single line like '-S ssid1 -S ssid2 ...', or I have to iterate over each one in some kind of loop? Seems silly. Why not an option for an input file? They do have it for the paths, though.

The problem is that not all the ssids are associated with the same client, so listing them all on one line, with the recover command, will fail since NW will try to recover from more than one client, unless you run separate recovers for each set of ssids per client. I just gave up and iterated over each ssid in a loop. :-(
Would have been easier if I could have put them in an input file.

George

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

<Prev in Thread] Current Thread [Next in Thread>