• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Netbackup

Netbackup Script to get client Vs policy list

By admin

Here is a small script to get the list of policies configured against a list of clients using netbackup commandline. Command used is bpplclients to get the clients. Put the list of policy in a file /tmp/policy_list. # cat /tmp/policy_list policy01 policy02 policy03 The script : for i in `cat /tmp/policy_list` do bpplclients $i -noheader | awk 'BEGIN {printf "'$i'"}{print "," $NF}' done > /tmp/output.csv Below is the Output file [ comma (,) separated … [Read more...] about Netbackup Script to get client Vs policy list

Filed Under: Netbackup

Netbackup Script to get Policy Vs client list

By admin

Here is a small script to get the list of clients configured against a list of policies in netbackup. Command used here is bpplclients to get the client list. Put the list of policy in a file /tmp/policy_list. # cat /tmp/policy_list policy01 policy02 policy03 The script : for i in `cat /tmp/policy_list` do bpplclients $i -noheader | awk 'BEGIN {printf "'$i'"}{print "," $NF}' done > /tmp/output.csv Below is the Output file [ comma (,) separated … [Read more...] about Netbackup Script to get Policy Vs client list

Filed Under: Netbackup

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary