cancel
Showing results for 
Search instead for 
Did you mean: 

Run Post command on Client Linux

Ihqbal
Level 3

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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

View solution in original post

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
The sript name is correct. Please show us what is in your bpend_notify script.

View solution in original post

7 REPLIES 7

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

You can create a bpend_notify script. Read this note https://www.veritas.com/support/en_US/article.TECH162973

Ihqbal
Level 3

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?

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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

Ihqbal
Level 3

Hi Riaan,

 

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

Will_Restore
Level 6

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.

 

Ihqbal
Level 3

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

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
The sript name is correct. Please show us what is in your bpend_notify script.