Re: [Veritas-bu] Need a command line command to change the BackupSelection for Policies
2008-09-09 12:25:51
It's really best not to start down the path of modifying files under
/usr/openv/netbackup/db.
Yes, it does work for this specific example, but it won't for all, will
break things in some cases, and there's zero long-term guarantee that any script
you write to do this will continue to work with future versions of
NetBackup.
Just use bpplinclude, that's what it's there for.
-- gabriel rosenkoetter Radian Group
Inc, Unix/Linux/VMware Sysadmin / Backup &
Recovery gabriel.rosenkoetter AT radian DOT biz, 215 231 1556
The backup selection
for policies is kept in a file, specifically /usr/openv/Netbackup/db/class/<policy
name>/includes.
From my experience, you
don’t need to run a specific command to update this component - just modify the
contents of this file and the next time a backup is kicked off it will backup
whatever is in the includes file. So, just write a script to update the
contents and you’ll be set.
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour, Wayne Sent: Monday, September 08, 2008
05:19 To:
veritas-bu AT mailman.eng.auburn DOT edu Subject: [Veritas-bu] Need a command line
command to change the BackupSelection for
Policies
Our environment NBU 6.5, HP-UX
11.31. I’ve got a ton of policies that I need to change the Backup
Selections. They are all disk addresses like c0t3d10. To avoid
typo’s I’d like to script the changes. I’ve always set up or changed
policies via the gui so I don’t know the command line commands that are
invoked. Anyone know what command line commands are needed to change the
Backup Selection portion of a Policy?
Thanks in
advance…
Wayne BeDour
Unix System Administrator
PH: 313-593-9876
Internet:
wbedour AT lear DOT com
********************** ** LEGAL
DISCLAIMER ** **********************
This E-mail message and any
attachments may contain legally privileged, confidential or
proprietary information. If you are not the intended
recipient(s), or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are hereby notified
that any dissemination, distribution or copying of this E-mail message
is strictly prohibited. If you have received this message in
error, please immediately notify the sender and delete this E-mail
message from your computer.
|
|
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|