Host-based backup of Microsoft Hyper-V VMs.
Post Reply
Michel121
Novice
Posts: 6
Liked: never
Joined: Nov 24, 2022 7:24 pm
Full Name: Michel
Contact:

Post Script Error

Post by Michel121 »

Hello everyone,

I will explain the issue in detail hoping that someone can help me.

1- I have windows server 2019 with HyperV role.
2- Veeam backup &replication is installed on the hyperV server, not inside a VM.
3- right-click --> edit job --> storage --> advanced -- > scripts ( I added a post script here to run after the backup has finished )

Issues:

1- whether the script is a batch file or a PowerShell file, the job finished with an error.
2- no matter the code, it could even have 1 line of code like "mkdir test" to create a folder. That would still fail.
3- If I run the script manually it works without any issues. And yes veeam is using the built-in administrator account credentials.
4- usually I get this error after the job finishes (Post-job script terminated with exit code 1 )
5- Sometimes the job just hangs at 100 % success while waiting for the post script to run and then it times out in around 15 min.

Thanks in advance for your time and effort.
HannesK
Product Manager
Posts: 14322
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Post Script Error

Post by HannesK »

Hello,
That sounds like a technical issue. Please provide a support case ID for this issue, as requested when you click New Topic.
Without case number, the topic will eventually be
deleted by moderators
.

Thank you,
Hannes
PS: support can only help if you upload logs https://www.veeam.com/kb1832
Michel121
Novice
Posts: 6
Liked: never
Joined: Nov 24, 2022 7:24 pm
Full Name: Michel
Contact:

Re: Post Script Error

Post by Michel121 »

Case #05941640
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests