bpclient "HOST INFO" parse
bpclient output from Linux running NBU 7.5.0.4
My problem:
I have thousands of clients spread across 5 NBU environments that have been installed by numerous people over several years. My problem is that I need to ensure that the bpclient database information is correctly defined. I was hoping to use the "HOST INFO" fields to parse out for the information I need so I can place it in a CSV for spreadsheet analysis.
bpclient -client klaatu -l
Client Name: klaatu
CURRENT HOST
klaatu 0
HOST INFO
2 0 0 0 0 2 1 1 0 0 3 0 0 *NULL* 0
I don't know if the "HOST INFO" fields above are in the same sequence order as the ouput listed below:
bpclient -client klaatu -L
Client Name: klaatu
Current Host:
Hostname: *NULL*
Dynamic Address: yes
Free Browse: Allow
List Restore: Not Specified
Max Jobs This Client: Not Specified
WOFB Enabled: yes
WOFB FIM: VSS
WOFB Usage: Individual Drive Snapshot
WOFB Error Control: Abort on Error
Client Direct: Deduplication on the media server or
Move data via media server
Client Direct Restore: Move data via media server
OST Proxy: Off
OST Proxy Server: Unspecified
Connect options: 2 2 3
Offline: No
I could script using the English variables but if I can parse out the variables information from "HOST INFO" it would be much easier to script and also analyze in a spreadsheet
Almost there
I was not able to determine the 13th and the 15th column
I attached the header row of my spreadsheet.
connect_options ports
0 = reserved port
1 = non-reserved ports
2 = use default portsdynamic_address
0 = client name
1 = use DHCPfree_browse
0 = allow
1 = deny
2 = uselist_restore
0 = default
1 = allow list and restore
2 = allow list only
3 = deny list and restoremax_jobs
allowed to run
concurrentlyconnect_options
bpcd connect back
0 = random
1 = VNETD port
2 = use defaultWOFB_enabled
0 = disables open file
1 = enables open fileWOFB_FIM
0 = use VSP
1 = use VSSWOFB_usage
0 = individual snap
1 = global snapWOFB_error
0 = abort on error
1 = disable snap and continueconnect_options
daemon connect port
0 = automatic
1 = VNETD
2 = legacy
3 = use defaultclient_direct
0 = never use
1 = prefer to use
2 = always use13 UNKNOWN 14 15 UNKNOWN