cancel
Showing results for 
Search instead for 
Did you mean: 

bppllist command clarify

Sid1987
Level 6
Certified

Hi Team,

 Need some clarification on bppllist command output, as per command guide -l gives output for scripting. In it SCHED with Field 2 defines below things 

 Field 2 - Backup type for the schedule. 0 = Full schedule, 1 = Differential incrementalschedule,2=Cumulativeincrementalschedule,3=Userbackup schedule, 4 = User archive schedule

However in -U it shows different for example type as Application Backup. How can I get these details in -l output.

1 ACCEPTED SOLUTION

Accepted Solutions

I had to code it with -U itself, would have been easy with -l, However had to do it complicated awk for -U.

View solution in original post

5 REPLIES 5

Nicolai
Moderator
Moderator
Partner    VIP   

Either by opening a support ticket or reverse engineering the command. I have used last option quite a lot during time.

Sid1987
Level 6
Certified

Thanks Nicolai, I can use -U, However -l is easy to use in scripting. So if anyone knows, as for one of the policy I checked SCHED says 2 for type which is Cumulative incremental schedule, However in -U it says Application backup.

L_BR
Level 5

Try using -L? 

Running it on a few of our policies:

Standard Policy

With -l command:

SCHED full 0 1 604800 0 0 0 0 *NULL* 0 1 0 0 0 0 -1 0 0

With -L command:

Include: /*
Schedule: full
Type: FULL (0)
Calendar sched: Enabled

SQL Policy

With -l command:

SCHED full 0 1 604800 0 0 0 0 *NULL* 0 1 0 0 0 0 -1 0 0

With -L command:

Schedule: full
Type: FULL SSQL Server (0)
Calendar sched: Enabled

I'm sure you can run it on a few of your policies to confirm. -l is a bit confusing when there are default-application-schedules included in a policy. So you need to look at the schedule you have configured.

E.G bppllist policyname -l

CLASS polciyname *NULL* 0 771000 165600 *NULL*
NAMES
INFO 15 0 0 0 *NULL* 0 0 10 0 0 0 0 0 0 0 0 0 0 1426665177 BCEE6D6F309B450FACECB545BD13C289 1 0 0 0 0 0 0 0 2 0 1 0 0 0 0 3 8 0 28800 0 0 0 0 1
KEY *NULL*
BCMD *NULL*
RCMD *NULL*
RES m2_ho1_norep_med7_14d *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
POOL NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup NetBackup
FOE 0 0 0 0 0 0 0 0 0 0
SHAREGROUP Any
DATACLASSIFICATION *NULL*
APPLICATIONDEFINED *NULL*
CLIENT XXXX.XXXX.XX.XX Windows-x64 Windows2008 0 0 0 *NULL*
INCLUDE I:\scriptname.bch

Underlinded is the Default-Application-Backup schedule.
SCHED Default-Application-Backup 2 1 604800 3 0 0 0 *NULL* 0 0 0 0 0 0 -1 0 0
SCHEDWIN 0 86400 0 86400 0 86400 0 86400 0 86400 0 86400 0 86400
SCHEDRES *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
SCHEDPOOL *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
SCHEDRL 3 3 3 3 3 3 3 3 3 3
SCHEDFOE 0 0 0 0 0 0 0 0 0 0
SCHEDSG *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*

Below is the schedule we have created and used for this policy.
SCHED full 0 1 604800 0 0 0 0 *NULL* 0 1 0 0 0 0 -1 0 0
SCHEDCALENDAR
SCHEDWIN 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SCHEDRES *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
SCHEDPOOL *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*
SCHEDRL 0 1 1 1 1 1 1 1 1 1
SCHEDFOE 0 0 0 0 0 0 0 0 0 0
SCHEDSG *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL* *NULL*

 

 

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

i did this a while back for config doc generation.

  <ScheduleTypes>

    <add key="0" value="Full"/>

    <add key="1" value="Diff"/>

    <add key="2" value="UserBackup "/>

    <add key="3" value="UserArchive "/>

    <add key="4" value="Cinc"/>

I had to code it with -U itself, would have been easy with -l, However had to do it complicated awk for -U.