Networker

Re: [Networker] Using nsradmin to export the configuration

2013-08-14 20:22:00
Subject: Re: [Networker] Using nsradmin to export the configuration
From: Preston de Guise <enterprise.backup AT GMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 15 Aug 2013 10:15:48 +1000
On 15/08/2013, at 08:44 , jee <jee AT ERESMAS DOT NET> wrote:

> Print alone wouldn't work?

Print would work. In fact, the command below will miss parts of the 
configuration. For an optimal capture you really should do:

nsradmin> option hidden
nsradmin> print

If you're wanting to capture state information you'll also include an "option 
dynamic" as well.

Cheers,
Preston.

> 
> bbartick <networker-forum AT BACKUPCENTRAL DOT COM> wrote:
> 
>> #!/bin/sh
>> 
>> # Brett Bartick
>> # Networker Config
>> # Dump the Networker configuration
>> 
>> 
>> nsradmin -i - <<!EOF
>> print type:NSR
>> print type:NSR license
>> print type:NSR jukebox
>> print type:NSR device
>> print type:NSR operation status
>> print type:NSR label
>> print type:NSR pool
>> print type:NSR policy
>> print type:NSR notification
>> print type:NSR schedule
>> print type:NSR directive
>> print type:NSR group
>> print type:NSR client
>> !EOF
>> exit
>> 
>> +----------------------------------------------------------------------
>> |This was sent by bbartick AT us.nomura DOT com via Backup Central.
>> |Forward SPAM to abuse AT backupcentral DOT com.
>> +----------------------------------------------------------------------

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