Comprehensive data protection for all workloads
Post Reply
simonw2
Novice
Posts: 3
Liked: never
Joined: Sep 11, 2023 11:41 am
Full Name: Simon Wewers
Contact:

Feature Request: Simplifying Custom Script Testing in Sure Backup

Post by simonw2 »

Hello,

I'm not sure if this topic has already been discussed, so please feel free to delete my post if it has.

I've been using Sure Backup for a few weeks now and I'm working on finalizing some custom scripts to receive notifications when jobs are completed correctly (or not). The testing process for these scripts is relatively straightforward: I start a Sure Backup job and leave the VM running. However, there's a complication when it comes to remote commands integrated into these custom scripts. Currently, Veeam uses the Local System User to initiate the script, which can be problematic for scripts involving remote commands. As a result, I find myself having to restart my Sure Backup Session every time I want to test out this script because some variables aren't functioning properly.

Would it be possible to add a "Restart Custom Script" button within the Session overview? This small addition could greatly facilitate the testing of custom scripts.
HannesK
Product Manager
Posts: 14322
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feature Request: Simplifying Custom Script Testing in Sure Backup

Post by HannesK »

Hello,
and welcome to the forums.

For better understanding... could you maybe describe an example scenario where you have issues with variables? Which variables?

And just an idea: did you try running the Veeam Backup Service as named user? That might solve the "LOCAL SYSTEM" challenge depending on the root cause of the problem.

Best regards,
Hannes
simonw2
Novice
Posts: 3
Liked: never
Joined: Sep 11, 2023 11:41 am
Full Name: Simon Wewers
Contact:

Re: Feature Request: Simplifying Custom Script Testing in Sure Backup

Post by simonw2 »

Hey Hannes,

thank you for the quick answer.

I have written a script which remotely accesses the vms. Among other things ip and hostname as well as services etc. are read out. So that I do not have to write and change a new script for each vm, I use variables to be able to use a script for all vms. This can cause minor errors in the test phase.
Yes I could of course start a Powershell Console with "local system rights" and execute this from there or also restart the service with another user.
Optimal would be however if one could execute this in Sure Backup directly again. This way the variables %ip_vm% and %fqdn_vm" are used and passed repeatedly. Can I send you a small screenshot mockup?
HannesK
Product Manager
Posts: 14322
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feature Request: Simplifying Custom Script Testing in Sure Backup

Post by HannesK »

Hello,
you can add a screenshot to the forums by using the [img] tags and host it somewhere (I use https://snipboard.io/ in my posts) if you like. Then we can see how many other customers think that's useful (I cannot remember such a request from the past)

Best regards,
Hannes
simonw2
Novice
Posts: 3
Liked: never
Joined: Sep 11, 2023 11:41 am
Full Name: Simon Wewers
Contact:

Re: Feature Request: Simplifying Custom Script Testing in Sure Backup

Post by simonw2 »

Hey Hannes,
I created a little Screenshot-Mockup. I hope you are able to see this:
Image
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 96 guests