-
- Influencer
- Posts: 11
- Liked: 1 time
- Joined: Dec 09, 2014 11:42 am
- Full Name: Andrea Cerrito
- Contact:
How to stop the backup job if the prescript fail?
I'm trying to backup to two different USB disks and I've created a pre-job script to mount the disk.
In any error case during mount, my script can return any exit code I want.
I've tested with 1, 127, and others...
Veeam currently detect the failure but the job ran even with the error: how to stop the job in case of prescript fail?
Thanks
In any error case during mount, my script can return any exit code I want.
I've tested with 1, 127, and others...
Veeam currently detect the failure but the job ran even with the error: how to stop the job in case of prescript fail?
Thanks
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: How to stop the backup job if the prescript fail?
Hi,
Currently there is no option to do that out of the box, but you could try to handle the mount error inside the script so that in case of failure the script kills the job.
Thanks
Currently there is no option to do that out of the box, but you could try to handle the mount error inside the script so that in case of failure the script kills the job.
Thanks
-
- Enthusiast
- Posts: 37
- Liked: 4 times
- Joined: Mar 09, 2021 7:53 am
- Contact:
Re: How to stop the backup job if the prescript fail?
Hi,
With VBR v11, is there an option to stop the veeam backup job if the prejobs fails (Return code different than 0) ?
Thanks,
With VBR v11, is there an option to stop the veeam backup job if the prejobs fails (Return code different than 0) ?
Thanks,
-
- Veteran
- Posts: 1143
- Liked: 302 times
- Joined: Apr 27, 2020 12:46 pm
- Full Name: Natalia Lupacheva
- Contact:
Re: How to stop the backup job if the prescript fail?
Hello,
Currently, there is no way to do that with standard functionality.
But if you are looking for a workaround, Powershell or this solution might help you.
Thank you!
Currently, there is no way to do that with standard functionality.
But if you are looking for a workaround, Powershell or this solution might help you.
Thank you!
-
- Enthusiast
- Posts: 37
- Liked: 4 times
- Joined: Mar 09, 2021 7:53 am
- Contact:
Re: How to stop the backup job if the prescript fail?
Thanks,
I will look at that workaround
I will look at that workaround
Who is online
Users browsing this forum: Bing [Bot], CurtisC and 15 guests