Comprehensive data protection for all workloads
Post Reply
Khue
Enthusiast
Posts: 67
Liked: 3 times
Joined: Sep 26, 2013 6:01 pm
Contact:

Script Execution

Post by Khue »

Is there a way to execute a script at the termination of a job? For example, I have some SQL files I copy to tape. When the to tape job finishes, I want to clean up the file staging area with a script I have. The script basically deletes all .bak and .trn files in the folder and subfolders.
WolfgangA
Novice
Posts: 6
Liked: never
Joined: Jul 23, 2014 6:58 pm
Full Name: Wolfgang Aste
Contact:

Re: Script Execution

Post by WolfgangA »

In Backup Job properties / Storage / Advanced Settings / there is "Post job activity" and "run the following command"

Does that not help?

What I am missing is a pre-job task (!)
Gostev
Chief Product Officer
Posts: 31531
Liked: 6703 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Script Execution

Post by Gostev » 1 person likes this post

Wolfgang, pre-job task should make it into v8. Thanks!
Khue
Enthusiast
Posts: 67
Liked: 3 times
Joined: Sep 26, 2013 6:01 pm
Contact:

Re: Script Execution

Post by Khue »

WolfgangA wrote:In Backup Job properties / Storage / Advanced Settings / there is "Post job activity" and "run the following command"
Sorry, this is a Backup Files to Tape job. I should have clarified. I don't see an advanced settings section there.
foggy
Veeam Software
Posts: 21070
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Script Execution

Post by foggy »

As far as I know, we are going to add post-job activity to the tape jobs as well.
Khue
Enthusiast
Posts: 67
Liked: 3 times
Joined: Sep 26, 2013 6:01 pm
Contact:

Re: Script Execution

Post by Khue »

foggy wrote:As far as I know, we are going to add post-job activity to the tape jobs as well.
You're a gentleman and a scholar.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], ybarrap2003 and 130 guests