Forum Discussion

Ihqbal's avatar
Ihqbal
Level 3
9 years ago
Solved

Run Post command on Client Linux

Hi Everyone.

I need help with Netbackup.

I need to run a Linux command after running a backup job.

Example: I need to delete the file that has been backed up with my NetBackup job on Linux System

The NetBackup core using 7.6.1 on Windows System.

 

is this possible to do this on NetBackup?

because there is only Backup Exec that has this function when i search it.

  • Sorry, here is the unix/linux one. Basically the same, and yes, you can put whatever you need in the script.

     

    https://www.veritas.com/support/en_US/article.000044294

  • The sript name is correct. Please show us what is in your bpend_notify script.

7 Replies

  • The sript name is correct. Please show us what is in your bpend_notify script.
  • You can create a bpend_notify script. Read this note https://www.veritas.com/support/en_US/article.TECH162973

  • For the link that you suggest me, there is only bat file configuration with windows configuration only and located in Server Side/

    is this possible to replace the file with my customization script and place it on Client side?

    like rm -rf command on linux and replace the extension?

  • Sorry, here is the unix/linux one. Basically the same, and yes, you can put whatever you need in the script.

     

    https://www.veritas.com/support/en_US/article.000044294

  • Hi Riaan,

     

    Thanks for your comment, hopefully it can be work as my expected.

  • Example: I need to delete the file that has been backed up with my NetBackup job on Linux System

     

    Look at Netbackup archive feature which deletes file(s) after successful backup.

     

  • Hi Wil_restore (really confused that this is your username).

     

    it just an example, but we have some command (.sh) that already created.

    I was follow Riaan Step, but it seems like the command did't execute as my expacted.

    when i run the command manually it's work.

    but when i run the backup, the file not executed.

    i have the job policy name Testingme and the schedule Test.

    so i create the file on client named bpend_notify.Testingme.Test

    is this correcy? based on Riaan link's.

     

    Thanks