RE: [Veritas-bu] Obtaining NB client host properties from command line
Title: Message Thanks very much. Very helpful! Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED] From: Major, Rusty [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 1:31 PM To: Chapman, Scott; Winter, Todd; Spearman, David; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line Another option other than NBU command line is to get the data from the registry. NBU stores it in HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\ and the value you're looking for under Config is Exclude. Rusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chapman, Scott Sent: Wednesday, December 07, 2005 3:04 PM To: Winter, Todd; Spearman, David; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line Is bpgetconfig what you are looking for? Maybe, bpgetconfig -M client-name | grep -i exclude . . . I assume grep is available on windows? Scott Chapman Insurance Corporation of British Columbia - Victoria ph: 250.414.7650 cell: 250.213.9295 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, Todd Sent: Wednesday, December 07, 2005 12:37 PM To: Spearman, David; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line That doesnt seem to work. All I get back when I use the bpclient command is the client name and an empty ip address field. No detailed settings for the client. Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED] From: Spearman, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:20 AM To: Winter, Todd Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line Try the bpblient command bpclient - L -client xx where x is th eclient name David Spearman County of Henrico, VA. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, Todd Sent: Wednesday, December 07, 2005 2:00 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Obtaining NB client host properties from command line Is there a way to get Netbackup client host properties from the command line? Im looking for something similar to bppllist (which spits out all the settings for a policy). In particular Im interested in querying clients for their exclude lists via command line. BTW, my environment is all NB 4.5 on Windows 2000. Thanks Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED]
RE: [Veritas-bu] Obtaining NB client host properties from command line
I find the command findstr to work as an almost acceptable replacement for grep. I use FOR FINDSTR ECHO TYPE commands extensively. I have added the GNU windows release of grep and am looking to add gawk. Cygwin is not on the systems yet but I haven't looked at calling scripts through that util yet. John Trainer Spearman, David [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/07/2005 01:09 PM To Chapman, Scott [EMAIL PROTECTED], Winter, Todd [EMAIL PROTECTED], veritas-bu@mailman.eng.auburn.edu cc Subject RE: [Veritas-bu] Obtaining NB client host properties from command line grep is not available on windows however one can download cygwin32 or posix windows/unix commands off the web. We use posix, works fine. Just make sure you path it. David Spearman County of Henrico, Va. -Original Message- From: Chapman, Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 4:04 PM To: Winter, Todd; Spearman, David; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line Is bpgetconfig what you are looking for? Maybe, bpgetconfig -M client-name | grep -i exclude . . . I assume grep is available on windows? Scott Chapman Insurance Corporation of British Columbia - Victoria ph: 250.414.7650 cell: 250.213.9295 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, Todd Sent: Wednesday, December 07, 2005 12:37 PM To: Spearman, David; veritas-bu@mailman.eng.auburn.edu Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line That doesnt seem to work. All I get back when I use the bpclient command is the client name and an empty ip address field. No detailed settings for the client. Todd Winter Intel Corp. D1C Automation - Infrastructure Group [EMAIL PROTECTED] From: Spearman, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:20 AM To: Winter, Todd Subject: RE: [Veritas-bu] Obtaining NB client host properties from command line Try the bpblient command bpclient - L -client xx where x is th eclient name David Spearman County of Henrico, VA. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, Todd Sent: Wednesday, December 07, 2005 2:00 PM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] Obtaining NB client host properties from command line Is there a way to get Netbackup client host properties from the command line? Im looking for something similar to bppllist (which spits out all the settings for a policy). In particular Im interested in querying clients for their exclude lists via command line. BTW, my environment is all NB 4.5 on Windows 2000. Thanks Todd Winter Intel Corp. D1C Automation - Infrastructure Group [EMAIL PROTECTED]
RE: [Veritas-bu] Obtaining NB client host properties from command line
Right, but I somehow forgot to add in there that the data could be gotten from the registry with a script. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rock Sent: Wednesday, December 07, 2005 8:48 PM To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Obtaining NB client host properties from command line * Major, Rusty [EMAIL PROTECTED] [2005-12-07 15:30]: Another option other than NBU command line is to get the data from the registry. NBU stores it in HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\ and the value you're looking for under Config is Exclude. That's fine if you are on the client, but bpgetconfig is a tool in NetBackup that makes pulling data from the clients through the NetBackup ports possible. Incidentally, it's also a good troubleshooting tool to help verify connectivity to the clients. You can also use bpsetconfig to make setting changes on the clients as well. very handy for batch updates of media server lists, etc. -- David Rock [EMAIL PROTECTED] ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Obtaining NB client host properties from command line
* Winter, Todd [EMAIL PROTECTED] [2005-12-07 10:59]: Is there a way to get Netbackup client host properties from the command line? I'm looking for something similar to bppllist (which spits out all the settings for a policy). In particular I'm interested in querying clients for their exclude lists via command line. windows, yes. UNIX, no. for Windows systems, you can use bpgetconfig to read client info: bpgetconfig -M client This will include Exclude/Include information. On UNIX, this doesn't work. The closest thing you can do is ssh to the client and look for exclude_list files in /usr/openv/netbackup or use some other method to get to the files. UNIX systems CAN use bpgetconfig for most other information, just not the Exclude/Include info. -- David Rock [EMAIL PROTECTED] pgpQLK5wuiU7G.pgp Description: PGP signature
RE: [Veritas-bu] Obtaining NB client host properties from command line
Title: Message Is bpgetconfig what you are looking for? Maybe, "bpgetconfig -M client-name | grep -i exclude" . . . I assume grep is available on windows? Scott Chapman Insurance Corporation of British Columbia - Victoria ph: 250.414.7650 cell: 250.213.9295 -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 12:37 PMTo: Spearman, David; veritas-bu@mailman.eng.auburn.eduSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line That doesnt seem to work. All I get back when I use the bpclient command is the client name and an empty ip address field. No detailed settings for the client. Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED] From: Spearman, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:20 AMTo: Winter, ToddSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line Try the bpblient command bpclient - L -client xx where x is th eclient name David Spearman County of Henrico, VA. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 2:00 PMTo: veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] Obtaining NB client host properties from command line Is there a way to get Netbackup client host properties from the command line? Im looking for something similar to bppllist (which spits out all the settings for a policy). In particular Im interested in querying clients for their exclude lists via command line. BTW, my environment is all NB 4.5 on Windows 2000. Thanks Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED]
RE: [Veritas-bu] Obtaining NB client host properties from command line
Title: Message grep is not available on windows however one can download cygwin32 or posix windows/unix commands off the web. We use posix, works fine. Just make sure you path it. David Spearman County of Henrico, Va. -Original Message-From: Chapman, Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 4:04 PMTo: Winter, Todd; Spearman, David; veritas-bu@mailman.eng.auburn.eduSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line Is bpgetconfig what you are looking for? Maybe, "bpgetconfig -M client-name | grep -i exclude" . . . I assume grep is available on windows? Scott Chapman Insurance Corporation of British Columbia - Victoria ph: 250.414.7650 cell: 250.213.9295 -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 12:37 PMTo: Spearman, David; veritas-bu@mailman.eng.auburn.eduSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line That doesnt seem to work. All I get back when I use the bpclient command is the client name and an empty ip address field. No detailed settings for the client. Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED] From: Spearman, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:20 AMTo: Winter, ToddSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line Try the bpblient command bpclient - L -client xx where x is th eclient name David Spearman County of Henrico, VA. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 2:00 PMTo: veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] Obtaining NB client host properties from command line Is there a way to get Netbackup client host properties from the command line? Im looking for something similar to bppllist (which spits out all the settings for a policy). In particular Im interested in querying clients for their exclude lists via command line. BTW, my environment is all NB 4.5 on Windows 2000. Thanks Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED]
RE: [Veritas-bu] Obtaining NB client host properties from command line
Title: Message Another option other than NBU command line is to get the data from the registry. NBU stores it in HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\ and the value you're looking for under Config is Exclude. Rusty From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chapman, ScottSent: Wednesday, December 07, 2005 3:04 PMTo: Winter, Todd; Spearman, David; veritas-bu@mailman.eng.auburn.eduSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line Is bpgetconfig what you are looking for? Maybe, "bpgetconfig -M client-name | grep -i exclude" . . . I assume grep is available on windows? Scott Chapman Insurance Corporation of British Columbia - Victoria ph: 250.414.7650 cell: 250.213.9295 -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 12:37 PMTo: Spearman, David; veritas-bu@mailman.eng.auburn.eduSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line That doesnt seem to work. All I get back when I use the bpclient command is the client name and an empty ip address field. No detailed settings for the client. Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED] From: Spearman, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:20 AMTo: Winter, ToddSubject: RE: [Veritas-bu] Obtaining NB client host properties from command line Try the bpblient command bpclient - L -client xx where x is th eclient name David Spearman County of Henrico, VA. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Winter, ToddSent: Wednesday, December 07, 2005 2:00 PMTo: veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] Obtaining NB client host properties from command line Is there a way to get Netbackup client host properties from the command line? Im looking for something similar to bppllist (which spits out all the settings for a policy). In particular Im interested in querying clients for their exclude lists via command line. BTW, my environment is all NB 4.5 on Windows 2000. Thanks Todd Winter Intel Corp. D1C Automation -Infrastructure Group [EMAIL PROTECTED]
Re: [Veritas-bu] Obtaining NB client host properties from command line
* Major, Rusty [EMAIL PROTECTED] [2005-12-07 15:30]: Another option other than NBU command line is to get the data from the registry. NBU stores it in HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\ and the value you're looking for under Config is Exclude. That's fine if you are on the client, but bpgetconfig is a tool in NetBackup that makes pulling data from the clients through the NetBackup ports possible. Incidentally, it's also a good troubleshooting tool to help verify connectivity to the clients. You can also use bpsetconfig to make setting changes on the clients as well. very handy for batch updates of media server lists, etc. -- David Rock [EMAIL PROTECTED] pgp5UbPFYkD2I.pgp Description: PGP signature