Re: [Networker] Starting a savegroup via a script
2010-01-25 15:11:54
Since your NW Server is linux, you simply write a shell script that
issues the 'savegrp' command naming the appropriate group-name. It will
not execute any commands below the savegrp command until the group is
completed.... You can initiate it via cron.
savegrp [ options ] [ -R | -G ] [ groupname ]
options: [ -EIOFXmnpv ] [ -l level | -C schedule ]
[ -N parallelism ] [ -e expiration ] [ -w browse ]
[ -y retention ] [ -t date ] [ -r retries ] [ -P printer
[ -W width ] [ -b backup snapshot ] [- c client ... ]
I sort of do this on our Windows server once a day to save all client
indexes since I have index-save turned off on all my other groups. The
command that does this is:
savegrp -O group-name -N 7 (the -O saves only indexes, and the -N 7
limits the # of concurrent save-streams)
> -----Original Message-----
> From: EMC NetWorker discussion
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of STANLEY R. HORWITZ
> Sent: Monday, January 25, 2010 2:54 PM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: [Networker] Starting a savegroup via a script
>
> Greetings everyone;
>
> I could have swore my question came up on this list before,
> but searching the archives hasn't been fruitful.
>
> What I need to know is how to start a savegroup from a script
> that is run on a Linux box using NetWorker 7.4.4 (both client
> and server). Ideally, I would like to have the script pause
> until the entire savegroup is finished so I know when to
> proceed to the next step in the script.
>
> Thanks,
>
> Stan
>
> 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
>
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
|
|
|