Re: [Veritas-bu] Exclude lists on Unix clients
Hi Patrick, May I request for the script? Do u have any script, which will help to extract all the backup Policy details ? I have more than 300 different backup policies. ___ Harpreet Singh Chana Sr. Backup Administrator 2, Changi South Lane Singapore 486123 Singapore Number +65-6876-9313 Number +65-9186-0581 Number +65-6876-9711 harpreetsingh.ch...@sg.flextronics.com <mailto:harpreetsingh.ch...@sg.flextronics.com> www.flextronics.com ___ From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of jcr...@marketforce.com.au Sent: Tuesday, December 06, 2011 8:57 AM To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Subject: Re: [Veritas-bu] Exclude lists on Unix clients Dear Patrick, great result, and I, for one, am always keen to see useful scripts that help manage NetBackup better. Cheers Crowey From:pwhelan0610 To:VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Date:05/12/2011 18:39 Subject:[Veritas-bu] Exclude lists on Unix clients Sent by:veritas-bu-boun...@mailman.eng.auburn.edu I believe I have found the problem. The bpgetconfig and bpsetconfig do indeed work, as long as the CLIENT is a the correct level! Thank you bob944 for forcing me to keep trying the -e and -i options. I wrote a Perl script that tries to get all the exclude and include files for a client and/or policy and/or schedule and some of the clients actually respond. :) Script is available if anyone is interested. Regards, Patrick +-- |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu <http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu> Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
Dear Patrick, great result, and I, for one, am always keen to see useful scripts that help manage NetBackup better. Cheers Crowey From: pwhelan0610 To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Date: 05/12/2011 18:39 Subject:[Veritas-bu] Exclude lists on Unix clients Sent by:veritas-bu-boun...@mailman.eng.auburn.edu I believe I have found the problem. The bpgetconfig and bpsetconfig do indeed work, as long as the CLIENT is a the correct level! Thank you bob944 for forcing me to keep trying the -e and -i options. I wrote a Perl script that tries to get all the exclude and include files for a client and/or policy and/or schedule and some of the clients actually respond. :) Script is available if anyone is interested. Regards, Patrick +-- |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
Patrick Whelan said: > How do most of create and populate exclude lists on Unix > clients, if you don't have access to said client? As Scott Kendall mentioned, bp[gs]etconfig is the cleanest way to go, (technically and politically). That said, setting and maintaining *clude lists with a) alternate-client restore to force standard *clude lists and/or b) backup|script|restore to preserve and update existing lists can be a big win if the need is non-trivial and lines of authority allow it. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
I have never tried from a Windows Master Server to UNIX Clients... but I have done it several times from a Solaris Master to Solaris, AIX and Linux Clients. It uses the same commands, but is done totally different for UNIX Clients! Symantec, if you're listening... WHY??? You can't pipe standard input to the command to set it or expect the results on the screen when you get it. To set it, you create a file with any name on the NetBackup Server and then use bpsetconfig with -e (or -i for include_list), specifying the file you created, to "copy" the file to the Client specified (while also renaming to exclude_list and putting it into the correct NetBackup dir). If you use the syntax for Policy or Policy/Schedule specific exclude/include lists, it creates it with a name accordingly (e.g. exclude_list.policy). To get it, you specify the name of the file to be created on the NetBackup Server. bpgetconfig, again with -e or -i, gets the exclude_list (or include_list... policy/schedule specific lists if specified) from the Client and "copies" it to the Server to the file name you specify. You then have to go cat the file or something to look at it. It doesn't display it as standard output. Think of it as the old "bpgp"... but limited to working with exclude/include lists! For UNIX clients, refer to the technote I mentioned (also below), the Command Line section at the end of the Documentation Updates that came with the 6.5.3 patch or use the online help (i.e. bpgetconfig -H or bpsetconfig -H). http://www.symantec.com/docs/TECH66046 For Windows Clients, refer to the 6.5 Admin Guide or the following. http://mailman.eng.auburn.edu/pipermail/veritas-bu/2011-November/110906.html If this doesn't work when done correctly from a Windows Master Server to a UNIX Client, I'd open a case with Symantec, because it should work, and definitely works with a Solaris Master. -Original Message- From: Patrick [mailto:netbac...@whelan-consulting.co.uk] Sent: Friday, December 02, 2011 1:10 PM To: Kendall, Scott Cc: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Subject: Re: [Veritas-bu] Exclude lists on Unix clients Doesn't work for Unix, I tried. :) On 02/12/2011 18:00, Kendall, Scott wrote: > bpgetconfig and bpsetconfig will do Windows and UNIX as of 6.5.3... same > commands, but totally different syntax! > > http://www.symantec.com/docs/TECH66046 > > > > -Original Message- > From: veritas-bu-boun...@mailman.eng.auburn.edu > [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of pwhelan0610 > Sent: Friday, December 02, 2011 8:30 AM > To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU > Subject: [Veritas-bu] Exclude lists on Unix clients > > How do most of create and populate exclude lists on Unix clients, if you > don't have access to said client? > > Regards, > > Patrick > > +-- > |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. > |Forward SPAM to ab...@backupcentral.com. > +-- > > > ___ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu > > This E-mail and any of its attachments may contain Time Warner Cable > proprietary information, which is privileged, confidential, or subject to > copyright belonging to Time Warner Cable. This E-mail is intended solely for > the use of the individual or entity to which it is addressed. If you are not > the intended recipient of this E-mail, you are hereby notified that any > dissemination, distribution, copying, or action taken in relation to the > contents of and attachments to this E-mail is strictly prohibited and may be > unlawful. If you have received this E-mail in error, please notify the sender > immediately and permanently delete the original and any copy of this E-mail > and any printout. > ___ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
Doesn't work for Unix, I tried. :) On 02/12/2011 18:00, Kendall, Scott wrote: > bpgetconfig and bpsetconfig will do Windows and UNIX as of 6.5.3... same > commands, but totally different syntax! > > http://www.symantec.com/docs/TECH66046 > > > > -Original Message- > From: veritas-bu-boun...@mailman.eng.auburn.edu > [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of pwhelan0610 > Sent: Friday, December 02, 2011 8:30 AM > To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU > Subject: [Veritas-bu] Exclude lists on Unix clients > > How do most of create and populate exclude lists on Unix clients, if you > don't have access to said client? > > Regards, > > Patrick > > +-- > |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. > |Forward SPAM to ab...@backupcentral.com. > +-- > > > ___ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu > > This E-mail and any of its attachments may contain Time Warner Cable > proprietary information, which is privileged, confidential, or subject to > copyright belonging to Time Warner Cable. This E-mail is intended solely for > the use of the individual or entity to which it is addressed. If you are not > the intended recipient of this E-mail, you are hereby notified that any > dissemination, distribution, copying, or action taken in relation to the > contents of and attachments to this E-mail is strictly prohibited and may be > unlawful. If you have received this E-mail in error, please notify the sender > immediately and permanently delete the original and any copy of this E-mail > and any printout. > ___ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
bpgetconfig and bpsetconfig will do Windows and UNIX as of 6.5.3... same commands, but totally different syntax! http://www.symantec.com/docs/TECH66046 -Original Message- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of pwhelan0610 Sent: Friday, December 02, 2011 8:30 AM To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Subject: [Veritas-bu] Exclude lists on Unix clients How do most of create and populate exclude lists on Unix clients, if you don't have access to said client? Regards, Patrick +-- |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout. ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Exclude lists on Unix clients
You need to work with the sys admins of these boxes. --Original Message-- From: pwhelan0610 Sender: veritas-bu-boun...@mailman.eng.auburn.edu To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU ReplyTo: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU Subject: [Veritas-bu] Exclude lists on Unix clients Sent: Dec 2, 2011 8:29 AM How do most of create and populate exclude lists on Unix clients, if you don't have access to said client? Regards, Patrick +-- |This was sent by netbac...@whelan-consulting.co.uk via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu Sent via BlackBerry from T-Mobile ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu