Highlighted

Backup selection list

Would like to delete whole file list in the policy backup selection:

the files list are something like \\10.10.10.10\test\jan\*.vbm

                                                  \\10.10.10.10\test\feb\20190116.vbk

command I used :    bpplinclude policy_name -delete "\\10.10..10.10\test"

                                 bpplinclude policy_name -delete "\\10.10..10.10\test\*"

I also tried delete one by one using:  bpplinclude policy_name -delete "\\10.10..10.10\test\jan\*.vbm"

                                                           .....

none of them worked, did I do something wrong?

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Re: Backup selection list

I found 2 related forum posts:
https://vox.veritas.com/t5/NetBackup/command-for-bpplinclude/td-p/325946
https://vox.veritas.com/t5/NetBackup/command-to-add-multiple-path-in-the-policy-selection-list/td-p/...

In short, it seems easiest way is to extract current Backup Selection and save as text file. 
Use the text file as input to delete current selection, then use another text file to add new list. 

bpplinclude policy_name [-v] -delete -f filename
bpplinclude policy_name [-v] -add -f filename

-v 
Selects the verbose mode for logging. This option is meaningful only when you run with the debug log function on ( that is, when the following directory is defined):
UNIX systems:   /usr/openv/netbackup/logs/admin
Windows systems:   install_path\NetBackup\logs\admin

 

View solution in original post

3 Replies
Highlighted

Re: Backup selection list

It might be easier to assist if you show us what exactly is in the Policy Backup Selection.
bppllist <policy-name> -U

Re: Backup selection list

the backup selection is something like that:

\\10.10.10.10\test1\abc\*.txt

\\10.10.10.10\test1\efg\*.txt

\\10.10.10.10\test1\efg\d2019-01-14.els

\\10.10.10.10\test1\test\*.vbi

would like to delete whole list with one command.

Highlighted
Accepted Solution!

Re: Backup selection list

I found 2 related forum posts:
https://vox.veritas.com/t5/NetBackup/command-for-bpplinclude/td-p/325946
https://vox.veritas.com/t5/NetBackup/command-to-add-multiple-path-in-the-policy-selection-list/td-p/...

In short, it seems easiest way is to extract current Backup Selection and save as text file. 
Use the text file as input to delete current selection, then use another text file to add new list. 

bpplinclude policy_name [-v] -delete -f filename
bpplinclude policy_name [-v] -add -f filename

-v 
Selects the verbose mode for logging. This option is meaningful only when you run with the debug log function on ( that is, when the following directory is defined):
UNIX systems:   /usr/openv/netbackup/logs/admin
Windows systems:   install_path\NetBackup\logs\admin

 

View solution in original post