Public | Automated Build

Last pushed: 10 months ago
Short Description
NetBackup Policy to Excel tool
Full Description

policy2excel

NetBackup Policy to Excel tool

--Convert the Json policy out file to Excel
--Works for NetBackup 7.7.x and above
--Added support NetBackup 7.6 and below

Collecting the NetBackup policy output

Run bppllist command to collect the output ( Netbackup 7.7.x)

  1. bppllist -allpolicies -compact_json > policy_out.json

Run bppllist command to collect the output ( Netbackup 7.6.x and below)

  1. bppllist -allpolicies -l > policy_file.out

Use Docker Hub

  1. docker pull radhakv/policy2excel

Setup Docker image

  1. Download the docker file from the repo to policy2excel folder
  2. run 'docker build -t policy2excel policy2excel'

Running the tool ( NBU 7.7.x )

  1. Copy the file to a local directory eg: /var/tmp/data
  2. docker run --rm -it --name policy2excel -v "/var/tmp/data":/root -w /root radhakv/policy2excel:latest /usr/local/bin/policy2excel/bin/policy2excel -i policy_out.json -o policy_out.xlsx --generate_excel

Running the tool ( NBU 7.6.x and below)

  1. Copy the file to a local directory eg: /var/tmp/data
  2. docker run --rm -it --name policy2excel -v "/var/tmp/data":/root -w /root radhakv/policy2excel:latest /usr/local/bin/policy2excel/bin/policy2excel2 -i policy_file.out -o policy_out.xlsx --generate_excel
Docker Pull Command
Owner
radhakv
Source Repository

Comments (0)