Backup Netbackup run Pre-Post Script for UNIX Before and After policy backup Run

** Myself
NetBackup Run Script
1. from backup server client mount disk splite storage from production system)  
    cd /usr/openv/netbackup/bin
2. Create  bpstart_notify.policy_name and bpend_notify.policy_name for backup 
   Example bpstart_notify.Daily_DB_FlashBackup_host01  and bpend_notify.Daily_DB_FlashBackup_host01
   2.1) bpstart_notify.Daily_DB_FlashBackup_host01 (### umount old backup,freeze db, split storage new flash copy backup,unfreeze db  in bpstart )
      - Unconfigure Disk
      - Disable Flash Copy 
      - Remote to freeze database on DB system
      - Create FLASH COPY
      - Remote to unfreeze database on DB system
      - Scan Hdisk
      - Import VG
      - fsck
      - mount backup disk 
   2.2) run Daily backup Daily_DB_FlashBackup_host01  policy (## backup from split path to tape from policy backup file sytem)
   2.3) bpend_notify.Daily_DB_FlashBackup_host01  (### umount old backup,unfreeze db, split storage new flash copy backup  in bpstart )
      - Unmount filesystem,
      - Varyoffvg Export VG,
      - Remove Backup Hdisk
      - Disable Flash Copy
 
3. chmod 755 bpstart_notify.policy_name bpend_notify.policy_name



1 comments:

engineersinfo said...

Thanks for your post.
How to add post restore script ?

Loading