I took your concerns seriously and investigated some options for managing the include and exclude lists.
Although we’re not bringing bpgp back we have extended bpgetconfig and bpsetconfig to be able to manage the include and exclude lists remotely for all client operating systems.
bpgetconfig -i "filename" "host" ["class" ["schedule"]]
bpgetconfig -e "filename" "host" ["class" ["schedule"]]
bpsetconfig [-h "host"] [-u "user"] ["file" ...] [-i|-e "file" [-c "class" [-s "schedule"]]]
bpsetconfig [-h “host”] [-u “user”] [“file” …] [-e “file” [-c “class” [-s “schedule”]]]
Example usage:
Say you have an exclude list called “exclude.txt”, which contains the following text.
/usr/thing_to_exclude
You would then run the following command to update the configuration for a host names example123.
bpsetconfig –h example123.yourcompany.com –e exclude.txt
If you want to retrieve the exclude list simply run it like this.
Bpgetconfig –e exclude.txt example123.yourcompany.com
Do the same thing for include lists but use a “bpsetconfig –i”.
I expect this to be included in the next set of patches. If you need it sooner it should be available in the form of an EEB within the next couple of days. The patch consists of a new bpcd and bpsetconfig/bpgetconfig pair.
On a related topic, bprsh is also on the short list of things to remove in a future release. Why you ask? It comes down to a couple of issues. First, NBU is not intended as a tool for remote administration of hosts. Secondly, most corporations have procedures and policies in place in order to track and audit the activities they expect their administrators to be performing, tools like sudo or “runas”. NBU is intended to backup and restore data on hosts, it's not expected or intentionally designed to be used as a tool for remote host administration. What you and others are doing with bpgp, bpdir & bprsh (with the noted exception of include and exclude lists) is taking advantage of the capabilities of NetBackup to work around IT practices that prevent you from efficiently doing your job.
As always, keep the feedback coming.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.