cancel
Showing results for 
Search instead for 
Did you mean: 

how to list the policy where the hosts is belong to?

nbmagic
Level 4

I am seeking a command to list which policy is a host is located in?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

bppllist -byclient <clientname>

Also bpcoverage -c <clientname>

 

I prefer bpcoverage as it give neater output and shows what filesystems are covered and whats not:

 

    File System Backup Coverage Report (UNIX and Windows only)
       ---------------------------------------------------------------------------------
 
       Key:  *         - Policy is not active
             UNCOVERED - Mount Point not covered by an active policy
             MULTIPLE  - Mount Point covered by multiple active policies
 
CLIENT: test
 
   Mount Point           Device                Backed Up By Policy   Notes
   -----------           ------                -------------------   -----
   /                     /dev/dsk/c2t0d0s0                           UNCOVERED
   /apps                 /dev/dsk/c2t0d0s7                           UNCOVERED
   /devices              /devices                                    UNCOVERED
   /etc/dfs/sharetab     sharefs                                     UNCOVERED
   /etc/mnttab           mnttab                                      UNCOVERED
   /storage1             /dev/dsk/c2t2d0s0                           UNCOVERED
 

   Policy Name           Hardware/OS

   -----------           -----------
   oracle                Solaris/Solaris10
   test                  Solaris/Solaris10
 

View solution in original post

2 REPLIES 2

revarooo
Level 6
Employee

bppllist -byclient <clientname>

Also bpcoverage -c <clientname>

 

I prefer bpcoverage as it give neater output and shows what filesystems are covered and whats not:

 

    File System Backup Coverage Report (UNIX and Windows only)
       ---------------------------------------------------------------------------------
 
       Key:  *         - Policy is not active
             UNCOVERED - Mount Point not covered by an active policy
             MULTIPLE  - Mount Point covered by multiple active policies
 
CLIENT: test
 
   Mount Point           Device                Backed Up By Policy   Notes
   -----------           ------                -------------------   -----
   /                     /dev/dsk/c2t0d0s0                           UNCOVERED
   /apps                 /dev/dsk/c2t0d0s7                           UNCOVERED
   /devices              /devices                                    UNCOVERED
   /etc/dfs/sharetab     sharefs                                     UNCOVERED
   /etc/mnttab           mnttab                                      UNCOVERED
   /storage1             /dev/dsk/c2t2d0s0                           UNCOVERED
 

   Policy Name           Hardware/OS

   -----------           -----------
   oracle                Solaris/Solaris10
   test                  Solaris/Solaris10
 

nbmagic
Level 4

Thank you!