Calling Veeam commands after my upgrade of Veeam to 4.0 is no longer working.
I have changed the command line to reflect the new .exe file, and have re-created the veeam backup jobs, but he backup exec starts its job as veeam seems now release the pre-process and allows the tape backup job to start thereby locking the file and veeam chokes...
Any ideas, other than having completely sepearte schedualling.
I thought that veeam 4.0 was supposed to have direct tape support?
-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 29, 2009 6:17 pm
- Full Name: Jack
- Contact:
-
- Chief Product Officer
- Posts: 31523
- Liked: 7042 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Pre command by Backup Exec
Jack, if you'd like, we can investigate this from logs to say when your script is started in the Veeam Backup process. This functionality should not have changed from the previous release.
Anyhow, you can use the following PowerShell command to determing the job state from script:
No, direct tape support was not planned for 4.0, neither it is planned for the next major release.
Thank you.
Anyhow, you can use the following PowerShell command to determing the job state from script:
Code: Select all
(Get-VBRJob JobName).GetStatus()
Thank you.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 29, 2009 6:17 pm
- Full Name: Jack
- Contact:
Re: Pre command by Backup Exec
I am not that familier with power shell scripting, could you provide an example to launch veeam backup and returnt the proper session state?
-
- VP, Product Management
- Posts: 27270
- Liked: 2769 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Pre command by Backup Exec
Jack,
Here is the simple script example:
Hope it helps!
Here is the simple script example:
Code: Select all
function IsSuccess {
$result = Start-VBRJob "JobName"
if ($result.Status -eq "Success") {
write-host "Success" /// write a "Success" to the console
}
else {
write-host "FAIL"
}
}
Who is online
Users browsing this forum: Semrush [Bot] and 198 guests