Networker

Re: [Networker] Backup by command line?

2004-02-27 09:46:08
Subject: Re: [Networker] Backup by command line?
From: "Robert L. Harris" <Robert.L.Harris AT RDLG DOT NET>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 27 Feb 2004 09:36:01 -0500
It is being run by root out of a cron job.


I re-verified the -h as well as the man page, it's lower case.

       -g group
              This option is used by savegrp(1)  and  savefs(1)  to denote  the 
 group  of  the  save  (see
              nsr_client(5)  and  nsr_group(5))  and  is used by the NetWorker 
server to select the specific
              media pool.





Thus spake Ed Guenther (eguenthe AT US.IBM DOT COM):

> Two things come to mind Robert... isn't the command line:
>
> save -x -c $SERVERNAME -s legato -G Database -b ONSITE -l 9
>
> note the capital G?
>
> Secondly and probably more likely, how is the script being run?  As root?
> Chances are the save command needs to be kicked off by root.  If you have
> sudo on the box try doing "sudo ./myscriptname".
>
> hth,
>
> -Ed.
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>
>  ** ACCEPT: CRM114 PASS Markovian Matcher **
> CLASSIFY succeeds; success probability: 0.9786  pR: 1.6608
> Best match to file #0 (nonspam.css) prob: 0.9786  pR: 1.6608
> Total features in input file: 4720
> #0 (nonspam.css): features: 204736, hits: 163370, prob: 9.79e-01, pR:   1.66
> #1 (spam.css): features: 233088, hits: 141324, prob: 2.14e-02, pR:  -1.66
>
>
> -=-Extra Stuff-=-
>
>   From owner-networker AT LISTMAIL.TEMPLE DOT EDU Fri Feb 27 09:13:58 2004
> Return-path: <owner-networker AT LISTMAIL.TEMPLE DOT EDU>
> Envelope-to: nomad AT RDLG DOT NET
> Delivery-date: Fri, 27 Feb 2004 09:13:58 -0500
> Received: from listmail.temple.edu ([155.247.166.43])
>       by wally.rdlg.net with esmtp (Exim 4.30)
>       id 1AwikY-0002tJ-SV
>       for nomad AT RDLG DOT NET; Fri, 27 Feb 2004 09:13:58 -0500
> Received: from listmail (listmail.temple.edu) by listmail.temple.edu (LSMTP 
> for Windows NT v1.1b) with SMTP id <0.00164613 AT listmail.temple DOT edu>; 
> Fri, 27 Feb 2004 9:13:53 -0500
> Received: from LISTMAIL.TEMPLE.EDU by LISTMAIL.TEMPLE.EDU (LISTSERV-TCP/IP
>           release 1.8e) with spool id 155287 for NETWORKER AT LISTMAIL.TEMPLE 
> DOT EDU;
>           Fri, 27 Feb 2004 09:13:53 -0500
> Received: from listmail (listmail.temple.edu) by listmail.temple.edu (LSMTP 
> for
>           Windows NT v1.1b) with SMTP id <0.0016460C AT listmail.temple DOT 
> edu>; Fri,
>           27 Feb 2004 9:13:53 -0500
> Message-ID:  <LISTSERV%2004022709135312 AT LISTMAIL.TEMPLE DOT EDU>
> Date:         Fri, 27 Feb 2004 09:13:53 -0500
> Reply-To:     Legato NetWorker discussion <NETWORKER AT LISTMAIL.TEMPLE DOT 
> EDU>,
>               Ed Guenther <eguenthe AT US.IBM DOT COM>
> Sender:       Legato NetWorker discussion <NETWORKER AT LISTMAIL.TEMPLE DOT 
> EDU>
>  From:         Ed Guenther <eguenthe AT US.IBM DOT COM>
> Subject: [Networker] Backup by command line?
> To:           NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> Precedence: list
>
> Two things come to mind Robert... isn't the command line:
>
> save -x -c $SERVERNAME -s legato -G Database -b ONSITE -l 9
>
> note the capital G?
>
> Secondly and probably more likely, how is the script being run?  As root?
> Chances are the save command needs to be kicked off by root.  If you have
> sudo on the box try doing "sudo ./myscriptname".
>
> hth,
>
> -Ed.
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>
>
>
>  -0-0-0-

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Life is not a destination, it's a journey.
  Microsoft produces 15 car pileups on the highway.
    Don't stop traffic to stand and gawk at the tragedy.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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