Forum Discussion

Raaavan's avatar
Raaavan
Level 5
12 years ago
Solved

Only user backup EXIT STATUS 245: the specified policy is not of the correct client type

Hi All,

I hvae created one policy & firing through user scripts but it is exiting with status code as 245 i.e EXIT STATUS 245: the specified policy is not of the correct client type

If i make it as full then it is starting properly

below i have mentioned policy details & user scrip need help

client server is windows 2008 64 bit

Policy Details-

[hbchanmstn1]# bppllist CHAN_D_W_M_PROD_Eneteasyview3 -U
------------------------------------------------------------

Policy Name:       CHAN_D_W_M_PROD_Eneteasyview3

  Policy Type:         MS-Windows
  Active:              yes
  Effective date:      06/04/2013 11:48:44
  Backup network drvs: no
  Collect TIR info:    no
  Mult. Data Streams:  no
  Client Encrypt:      no
  Checkpoint:          yes
       Interval:       15
  Policy Priority:     0
  Max Jobs/Policy:     Unlimited
  Disaster Recovery:   0
  Collect BMR info:    no
  Residence:           netback3_daily_DSSU
  Volume Pool:         NetBackup
  Server Group:        *ANY*
  Keyword:             (none specified)
  Data Classification:       -
  Residence is Storage Lifecycle Policy:    no
  Application Discovery:      no
  Discovery Lifetime:      0 seconds
ASC Application and attributes: (none defined)

  Granular Restore Info:  no
  Ignore Client Direct:  no
Enable Metadata Indexing:  no
Index server name:  NULL
  Use Accelerator:  no
  HW/OS/Client:  Windows-x64   Windows2008   Eneteasyview3

  Include:  D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\Eneteasyview3Node01Cell\EnetSSL_war.ear
            D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\Eneteasyview3Node02Cell\EnetSSL_war.ear
            D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv03\installedApps\Eneteasyview3Node03Cell\EnetSSL_war.ear
            D:\EnetSSL
            D:\Framework_SSL
            D:\enetbpcl_27052005

  Schedule:              M_Eneteasyview3
    Type:                User Backup
    Maximum MPX:         10
    Synthetic:           0
    Checksum Change Detection: 0
    PFI Recovery:        0
    Retention Level:     16 (12 years)
    Number Copies:       1
    Fail on Error:       0
    Residence:           netback3_monthly_DSSU
    Volume Pool:         (same as policy volume pool)
    Server Group:        (same as specified for policy)
    Residence is Storage Lifecycle Policy:         0
    Schedule indexing:     0
    Daily Windows:
          Sunday     00:00:00  -->  Saturday   23:59:59

  Schedule:              W_Eneteasyview3
    Type:                User Backup
    Maximum MPX:         10
    Synthetic:           0
    Checksum Change Detection: 0
    PFI Recovery:        0
    Retention Level:     3 (1 month)
    Number Copies:       1
    Fail on Error:       0
    Residence:           netback3_weekly_DSSU
    Volume Pool:         (same as policy volume pool)
    Server Group:        (same as specified for policy)
    Residence is Storage Lifecycle Policy:         0
    Schedule indexing:     0
    Daily Windows:
          Sunday     00:00:00  -->  Saturday   23:59:59

  Schedule:              D_Eneteasyview3
    Type:                User Backup
    Maximum MPX:         10
    Synthetic:           0
    Checksum Change Detection: 0
    PFI Recovery:        0
    Retention Level:     0 (1 week)
    Number Copies:       1
    Fail on Error:       0
    Residence:           netback3_daily_DSSU
    Volume Pool:         (same as policy volume pool)
    Server Group:        (same as specified for policy)
    Residence is Storage Lifecycle Policy:         0
    Schedule indexing:     0
    Daily Windows:
          Sunday     00:00:00  -->  Saturday   23:59:59

 

 

user script

 

d:
cd veritas\netbackup\bin
bpbackup -p CHAN_D_W_M_PROD_Eneteasyview3 -s D_Eneteasyview3 -S mstnetbkp -w "D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\Eneteasyview3Node01Cell\EnetSSL_war.ear" "D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\Eneteasyview3Node02Cell\EnetSSL_war.ear" "D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv03\installedApps\Eneteasyview3Node03Cell\EnetSSL_war.ear" D:\EnetSSL D:\Framework_SSL d:\enetbpcl_27052005
pause

 

  • SunnyB - is the intend to start the backup from the master server or from the client ?

    If you wan to start the backup from the client you need to look at the command I provided in my previous post. If you want to run it from the master server follow Mark suggestion.

6 Replies

  • You issue here is that you are using the -p switch which is like right clicking a policy and saying run now

    To do that you need a normal schedule as it is not actually a user backup

    If that command works OK for you then just make the schedules as normal full ones for it to work and do not have a window in them at all as they wont need one.

    Otherwise you need to use the -f switch to specify the files

    I would stay as you are, remove the actual backup window in the schedule and make it a normal full backp

    Hope this helps

  • The bpbackup command is wrong. You can't specify multiple path to bpbackup. If you want to supply multiple path to need to use a file list file. See listfile in http://www.symantec.com/docs/HOWTO43639

    A command would look something like:

    bpbackup -p CHAN_D_W_M_PROD_Eneteasyview3 -s M_Eneteasyview3 -f c:\temp\filelist

    Where filelist contain file and directories you want to backup

    e.g

    D:\EnetSSL
    D:\Framework_SSL
    D:\enetbpcl_27052005
    c:\what ever\

    The -w parameter wait for the backup to complete before returning to the command line. Without the -w the backup will run in the background

  • Thnaks for the reply didnt get wat exactly you are saying .

    Put in script your eg & steps what should i do ..?

     

    Thanks for the prompt response.

     

  • What i was saying is that your command is the equivalent to manually running a policy, which needs a normal Full of Incremental schedule type - you did say that if you changed the schedule type to Full it did work.

    This is exactly what is expected and so my advice was to set your schedules to Full rather than User Backup but remove the backup window from them to prevent them being run automatically and it will be fine then.

    If you want a true User backup then follow the commands provided by Nicolai - but as your command seems to work for you as it is then it would be easier to just change your schedule type

    Hope this helps 

  • SunnyB - is the intend to start the backup from the master server or from the client ?

    If you wan to start the backup from the client you need to look at the command I provided in my previous post. If you want to run it from the master server follow Mark suggestion.