cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run a post command on a Linux Server

AndresV
Level 6
Partner

Hi,

I´m trying to perform a process like this:

1. Backup 100 files

2. Delete those 100 files

I´ve tried a couple of things like this: 

a) rm -f /tmp/test/*.* in a post command box

b) ./script in a post command box (the script contais this rm -f /tmp/test/*.*)

Everytime I run the backup job I get this "Error: Could not start Post Job Command < ./script >. Error (2): The system cannot find the file specified."

Does anyone know how to do this?

1 REPLY 1

MilindP
Level 4

Hi,

Have you tried to run that command outside backup exec?

If run outside does it execute fine?

If I understand it correctly you would first like to backup the files from that directory adn once the backup is complete the script should delete those files.

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