Forum Discussion

tollboy's avatar
tollboy
Level 4
11 years ago

Ms-sql backup does not creating correct child job

Hello,

I am facing issue with MS-SQL backup.

I have created batch script as guided here . I have added the script in the policy. There is only two schedule in the policy one full and one application backup.

Here is the policy.

 

Policy Name:       CTSDB_TEST

  Policy Type:         MS-SQL-Server
  Active:              yes
  Effective date:      01/09/2014 05:08:09
  Mult. Data Streams:  no
  Client Encrypt:      no
  Checkpoint:          no
  Policy Priority:     0
  Max Jobs/Policy:     Unlimited
  Disaster Recovery:   0
  Collect BMR info:    no
  Residence:           (specific storage unit not required)
  Volume Pool:         NetBackup
  Server Group:        *ANY*
  Keyword:             (none specified)
  Data Classification:       -
  Residence is Storage Lifecycle Policy:    no

Granular Restore Info:  no
Ignore Client Direct:  no
  HW/OS/Client:  Windows-x64   Windows2008   usnvsqldb01

  Include:  CTSDB_SQL2012_FULLBackup.bch

  Schedule:          Default-Application-Backup
    Type:            Application Backup
    Maximum MPX:     1
    Synthetic:       0
    PFI Recovery:    0
    Retention Level: 3 (1 month)
    Number Copies:   1
    Fail on Error:   0
    Residence:       (specific storage unit not required)
    Volume Pool:     (same as policy volume pool)
    Server Group:    (same as specified for policy)
    Residence is Storage Lifecycle Policy:     0
    Daily Windows:
          Sunday     00:00:00  -->  Sunday     24:00:00
          Monday     00:00:00  -->  Monday     24:00:00
          Tuesday    00:00:00  -->  Tuesday    24:00:00
          Wednesday  00:00:00  -->  Wednesday  24:00:00
          Thursday   00:00:00  -->  Thursday   24:00:00
          Friday     00:00:00  -->  Friday     24:00:00
          Saturday   00:00:00  -->  Saturday   24:00:00

  Schedule:          Full
    Type:            Automatic Backup
    Frequency:       every 7 days
    Synthetic:       0
    PFI Recovery:    0
    Retention Level: 0 (1 week)
    Residence is Storage Lifecycle Policy:     0
    Daily Windows:
 

Whenever I am running the backup, the child job which is spawning is for the full schedule instead of Default-Application-Backup. Please advise what can be wrong here.

Let me know which logs you want me give, I uploaded dbclient logs already.

 

Here is the Backup script.

OPERATION BACKUP
BROWSECLIENT "USNVSQLDB01"
DATABASE "master"
SQLHOST "USNVSQLDB01"
SQLINSTANCE "CTSDB"
NBSERVER "EBACKUP01"
MAXTRANSFERSIZE 0
BLOCKSIZE 7
POLICY CTSDB_TEST
VERIFYOPTION STOPONERROR
ENDOPER TRUE

  • We took alternative route. We are triggering the backup from client side only. They are going fine now.

     

    Thanks every one for support.

12 Replies