Networker

[Networker] How does nsrclone order a list of SSIDs for cloning?

2010-01-12 14:47:14
Subject: [Networker] How does nsrclone order a list of SSIDs for cloning?
From: jcmps821 <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 12 Jan 2010 14:46:02 -0500
I think you can "script" your way around this limitation by ....

1) keep your mminfo command using a redirected output file ...
2) rather than running the nsrclone command once with an input file
3) use an iterative "for" loop script step .... such as:

# for I in `/tmp/my_mminfo_command_input_file.txt`
do
nsrclone -b MYPOOL -y RETENTION -j MYNODE -S $I
done
#

As long as you don't use the ampersand "&" to place the command in the 
background, the iterative list feeding the nsrclone command should read the 1st 
record, process it, and and then the subsequent records one at a time.  As long 
as your mminfo command redirects the ssid values in oldest order first ... I 
think it should work.

+----------------------------------------------------------------------
|This was sent by johnrknapp AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

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>