-
- Veeam Software
- Posts: 712
- Liked: 168 times
- Joined: Nov 30, 2010 3:19 pm
- Full Name: Rick Vanover
- Location: Columbus, Ohio USA
- Contact:
Start-VBRZip in Veeam Backup Free Edition
I just posted the blog post from Vladimir about Update 2 brining PowerShell support:
http://www.veeam.com/blog/veeam-backup- ... shell.html
It's better if any discussions for the script are here rather than blog comments, so let's get scripting!
http://www.veeam.com/blog/veeam-backup- ... shell.html
It's better if any discussions for the script are here rather than blog comments, so let's get scripting!
-
- Lurker
- Posts: 1
- Liked: never
- Joined: May 12, 2015 12:02 pm
- Full Name: Gregor Godler
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Great post/news about this new feature. I'm having some trouble with script from here: http://www.veeam.com/blog/wp-content/up ... eamZIP.zip
I get this error:
Find-VBRViEntity : Unable to cast object of type 'Veeam.Backup.Core.Infrastructure.CHvHostItem' to type 'Veeam.Backup.Core.Infrastructure.IViI
tem'.
At C:\scripts\backup_hyperv.ps1:78 char:9
+ $VM = Find-VBRViEntity -Name $VMName -Server $Server
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Find-VBRViEntity], InvalidCastException
+ FullyQualifiedErrorId : System.InvalidCastException,Veeam.Backup.PowerShell.Command.FindVBRViEntity
I get this error:
Find-VBRViEntity : Unable to cast object of type 'Veeam.Backup.Core.Infrastructure.CHvHostItem' to type 'Veeam.Backup.Core.Infrastructure.IViI
tem'.
At C:\scripts\backup_hyperv.ps1:78 char:9
+ $VM = Find-VBRViEntity -Name $VMName -Server $Server
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Find-VBRViEntity], InvalidCastException
+ FullyQualifiedErrorId : System.InvalidCastException,Veeam.Backup.PowerShell.Command.FindVBRViEntity
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
It seems that you're using HV infrastructure, right? The script has been developed to vSphere deployment, so some of the lines need to be replaced with HV alternatives to make the script work.
We will provide HV version and attach it to the blog post soon.
Thanks.
We will provide HV version and attach it to the blog post soon.
Thanks.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Basically, you need to replace Find-VBRViEntity with its HV analogue - Find-VBRHvEntity. Thanks.
-
- Lurker
- Posts: 1
- Liked: 1 time
- Joined: Jan 05, 2015 1:18 am
- Full Name: Bob Endicott
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
I have tried to implement this script and it works great for a single VM but if I try to add multiple VM's to the script I receive the errors below.
Here is what I am putting in the VMName section of the script
# Names of VMs to backup separated by semicolon (Mandatory)
$VMNames = "VM1; VM2; VM3"
Start-VBRZip : Cannot validate argument on parameter 'Entity'. The argument is null. Provide a valid value for the
argument, and then try running the command again.
At C:\scripts\VeeamZIP.ps1:86 char:40
+ $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $Comp ...
+ ~~~
+ CategoryInfo : InvalidData: (:) [Start-VBRZip], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Backup.PowerShell.Commands.Backup.StartVBRZip
You cannot call a method on a null-valued expression.
At C:\scripts\VeeamZIP.ps1:91 char:5
+ $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
thank you.
Here is what I am putting in the VMName section of the script
# Names of VMs to backup separated by semicolon (Mandatory)
$VMNames = "VM1; VM2; VM3"
Start-VBRZip : Cannot validate argument on parameter 'Entity'. The argument is null. Provide a valid value for the
argument, and then try running the command again.
At C:\scripts\VeeamZIP.ps1:86 char:40
+ $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $Comp ...
+ ~~~
+ CategoryInfo : InvalidData: (:) [Start-VBRZip], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Backup.PowerShell.Commands.Backup.StartVBRZip
You cannot call a method on a null-valued expression.
At C:\scripts\VeeamZIP.ps1:91 char:5
+ $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
thank you.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
What happens if you try to separate them in the similar manner:
Code: Select all
$VMNames = "VM1", "VM2", "VM3"
-
- Lurker
- Posts: 1
- Liked: never
- Joined: May 17, 2015 5:38 am
- Full Name: Greg Zartman
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
I ran into the same issue with this powershell script. I am not super familiar with PS scripts, but all that $VMNames is doing is storing a list of VM names. I don't think that putting semi-colons inside the quotes is proper list syntax. Instead, the following syntax will work: $VMNames = "VM1","VM2"bobendicott wrote:I have tried to implement this script and it works great for a single VM but if I try to add multiple VM's to the script I receive the errors below.
.
In other words, VM names inside quotes separated by commas.
This has been testing on my machine and now the script works fine for multiple VMs.
Greg
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
It should work with commas, indeed.
I'm now preparing list of modifications, and will ask Rick to upload them to the blog post later on.
Thanks.
I'm now preparing list of modifications, and will ask Rick to upload them to the blog post later on.
Thanks.
-
- Veeam Software
- Posts: 712
- Liked: 168 times
- Joined: Nov 30, 2010 3:19 pm
- Full Name: Rick Vanover
- Location: Columbus, Ohio USA
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Both scripts are up now
VMware script: http://www.veeam.com/blog/wp-content/up ... eamZIP.zip
Hyper-V script: http://www.veeam.com/blog/wp-content/up ... ted-HV.zip
VMware script: http://www.veeam.com/blog/wp-content/up ... eamZIP.zip
Hyper-V script: http://www.veeam.com/blog/wp-content/up ... ted-HV.zip
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Good afternoon,
I have the script setup and it runs quite well, with the exception of the following err and nothing reported in the Details section of the email being sent. Any suggestions? I tried this with 1 server and 3 servers being backed up with the script and get the message for each server.
You cannot call a method on a null-valued expression.
At C:\Users\xxxxxxxx\Desktop\veeamzip-TEST.ps1:91 char:64
+ $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog <<<< ().updatedrecords
+ CategoryInfo : InvalidOperation: (getlog:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Thank you for your assistance.
I have the script setup and it runs quite well, with the exception of the following err and nothing reported in the Details section of the email being sent. Any suggestions? I tried this with 1 server and 3 servers being backed up with the script and get the message for each server.
You cannot call a method on a null-valued expression.
At C:\Users\xxxxxxxx\Desktop\veeamzip-TEST.ps1:91 char:64
+ $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog <<<< ().updatedrecords
+ CategoryInfo : InvalidOperation: (getlog:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Thank you for your assistance.
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Sorry, I have question on this...
Is there a method for sending the email to multiple recipients? I tested it with two email addresses either as "1st@test.com;2nd@test.com" and "1st@test.com","2nd@test.com" and it appears that only the first email gets sent to the first address when it is together with the single set of quotes and sent to the last entry on the individual addresses with the quotes and comma.
Thanks!
Is there a method for sending the email to multiple recipients? I tested it with two email addresses either as "1st@test.com;2nd@test.com" and "1st@test.com","2nd@test.com" and it appears that only the first email gets sent to the first address when it is together with the single set of quotes and sent to the last entry on the individual addresses with the quotes and comma.
Thanks!
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
It appears that $ZIPSession variable doesn't contain anything, may be VeeamZIP has been started against non-existent VM or something.You cannot call a method on a null-valued expression.
I think you can create a list of recipients and, then, add a loop at e-mail sending stage, so that, email will be generated for multiple addresses.Is there a method for sending the email to multiple recipients?
Thanks.
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
The backup is running successfully and I can get the report emailed to me, but as you can see in the email report sample below (although it doesn't align right, there is another section at the end of each line for 'Details'), the detail is blank and I think this is tied back to the error that is being generated. I just can't figure why it is coming back as a null value.v.Eremin wrote: It appears that $ZIPSession variable doesn't contain anything, may be VeeamZIP has been started against non-existent VM or something.
Name Start Time End Time Result Details
SERVER1_2015-05-18T172527 5/18/2015 5:25:27 PM 5/18/2015 5:36:28 PM Success
SERVER2_2015-05-18T173633 5/18/2015 5:36:33 PM 5/18/2015 5:58:17 PM Success
SERVER3_2015-05-18T175820 5/18/2015 5:58:20 PM 5/18/2015 6:16:38 PM Success
OK, I will have to give that a try. Thanks for the pointers.v.Eremin wrote: I think you can create a list of recipients and, then, add a loop at e-mail sending stage, so that, email will be generated for multiple addresses.
Thanks.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
"Details" is blank due to $ZIPSession variable being indicated as null. Though, I'm not sure how it happens because $ZIPSession variable is used multiple times to get session specific information, such as start time, end time, etc (and those are reflected correctly).
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Yup, that is pretty much what my thoughts were, that it is correctly using the $ZIPSession variable to gather the start/end/status but seems to have an issue getting the detail.v.Eremin wrote:"Details" is blank due to $ZIPSession variable being indicated as null. Though, I'm not sure how it happens because $ZIPSession variable is used multiple times to get session specific information, such as start time, end time, etc (and those are reflected correctly).
-
- VP, Product Management
- Posts: 6024
- Liked: 2853 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Any chance this is Windows 2008R2 with a default Powershell 2.0 install? That's a common cause of the missing variables type issues I've seen.
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Currently running on Windows 7 (test machine). Silly question... What else would I need to be install on top of the default Powershell?tsightler wrote:Any chance this is Windows 2008R2 with a default Powershell 2.0 install? That's a common cause of the missing variables type issues I've seen.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Just check PS version. If it's 2.0, update it at least to 3.0. Thanks.
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
That did the trick! Ran another backup and no error & Details is now there. Thank you for your assistance!v.Eremin wrote:Just check PS version. If it's 2.0, update it at least to 3.0. Thanks.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
As Tom's mentioned, we've seen number of cases where some parameters and methods were missing due to an outdated version of Powershell. So, you've just confirmed that.
Glad to hear that you're up and running now.
Thanks.
Glad to hear that you're up and running now.
Thanks.
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: May 13, 2015 12:52 pm
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
I was also able to make the multiple email addresses work very easily. I updated the email process to be the following (original and updated):
Original code:
Updated code:
Original code:
Code: Select all
If ($EnableNotification)
{
$Message = New-Object System.Net.Mail.MailMessage $EmailFrom, $EmailTo
$Message.Subject = $EmailSubject
$Message.IsBodyHTML = $True
$message.Body = $MesssagyBody | ConvertTo-Html -head $style | Out-String
$SMTP = New-Object Net.Mail.SmtpClient($SMTPServer)
$SMTP.Send($Message)
}
Code: Select all
If ($EnableNotification)
{
foreach ($EmailTo in $EmailTo)
{
$Message = New-Object System.Net.Mail.MailMessage $EmailFrom, $EmailTo
$Message.Subject = $EmailSubject
$Message.IsBodyHTML = $True
$message.Body = $MesssagyBody | ConvertTo-Html -head $style | Out-String
$SMTP = New-Object Net.Mail.SmtpClient($SMTPServer)
$SMTP.Send($Message)
}
}
-
- Lurker
- Posts: 1
- Liked: never
- Joined: May 26, 2015 1:53 pm
- Full Name: Henning Andersson
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
This is cool!
I've scheduled a PS-script to create backups of a vm, and it works very well as long as I save the backup file locally. However if I try to save the file to our NAS I am unable to authenticate to the shared folder i have created for saving backups.
I have tried running the scheduled task as an authenticated user. I've also tried adding credentials in Veeam B&R without success.
The only way i have succeeded is by allowing "everyone" to write in my backup share, and I can say I'm not really happy of that way of doing things...
Any suggestions of how to setup this?
I've scheduled a PS-script to create backups of a vm, and it works very well as long as I save the backup file locally. However if I try to save the file to our NAS I am unable to authenticate to the shared folder i have created for saving backups.
I have tried running the scheduled task as an authenticated user. I've also tried adding credentials in Veeam B&R without success.
The only way i have succeeded is by allowing "everyone" to write in my backup share, and I can say I'm not really happy of that way of doing things...
Any suggestions of how to setup this?
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: May 27, 2015 6:56 am
- Full Name: Jens Hyldgaard Petersen
[MERGED] : Error when running Start-VBRZip on free version
I have installed Veeam B&R 8 with update 2 in the free version.
I have use this script to run a full backup: http://www.veeam.com/blog/veeam-backup- ... shell.html
But when i run the scipt i got an error in the log about "Failed to open storage for read/write access".
But if i run the backup from the GUI everthink work fine.
Please help.
I have use this script to run a full backup: http://www.veeam.com/blog/veeam-backup- ... shell.html
But when i run the scipt i got an error in the log about "Failed to open storage for read/write access".
But if i run the backup from the GUI everthink work fine.
Code: Select all
[27.05.2015 15:13:07] < 13992> ====================================================================================
[27.05.2015 15:13:07] < 13992> {
[27.05.2015 15:13:07] < 13992> Windows agent.
[27.05.2015 15:13:07] < 13992> Path to the executable module:C:\Program Files (x86)\Veeam\Backup Transport\x64\VeeamAgent.exe
[27.05.2015 15:13:07] < 13992> Agent version:8.0.0.2021
[27.05.2015 15:13:07] < 13992> OS version: Windows Server 2008 R2 (6.1.7601) Service Pack 1
[27.05.2015 15:13:07] < 13992> Processors num: 2
[27.05.2015 15:13:07] < 13992> Active processors mask: 3
[27.05.2015 15:13:07] < 13992> Processor 0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz
[27.05.2015 15:13:07] < 13992> Processor 1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz
[27.05.2015 15:13:07] < 13992> Installed memory, Mb: 12287
[27.05.2015 15:13:07] < 13992> PID : 12504
[27.05.2015 15:13:07] < 13992> }
[27.05.2015 15:13:07] < 13992> Adjusting system file cache limit (25 percent)
[27.05.2015 15:13:07] < 13992> Total physical memory instaled: [12287 MB], available: [1117 MB].
[27.05.2015 15:13:07] < 13992> Maximum system file cache size is now [3071 MB]
[27.05.2015 15:13:07] < 13992> VDDK logging level: 1
[27.05.2015 15:13:07] < 13992> Maximum pending blocks value: 10000
[27.05.2015 15:13:07] < 13992> AgentId:{67d4c5d2-8efd-4c64-91d0-79f8bd32bf49}
[27.05.2015 15:13:07] < 13992> stg| Storage current dedupe limit: [8388608].
[27.05.2015 15:13:07] < 13992> Loading registry options.
[27.05.2015 15:13:07] < 13992> BufReader MAX DATA SIZE: 524288000
[27.05.2015 15:13:07] < 13992> NetLib MAX RPC PACKET MAX SIZE: 524288000
[27.05.2015 15:13:07] < 13992> MINIDUMP MODE TYPE: Normal
[27.05.2015 15:13:07] < 13992> MINIDUMP MODE MASK: 0x00000000
[27.05.2015 15:13:07] < 13992> VMFS SAN PREREAD BUFFER SIZE: 4194304
[27.05.2015 15:13:07] < 13992> NFS read cache size in MB: 8
[27.05.2015 15:13:07] < 13992> cli| Client session has been started.
[27.05.2015 15:13:07] < 9844> cli| Thread started. Thread id: 9844, parent id: 13992, role: Session container
[27.05.2015 15:13:07] < 9844> srv| Srv. cleanup thread is started.
[27.05.2015 15:13:07] < 10492> cli| Thread started. Thread id: 10492, parent id: 13992, role: VRPC server thread
[27.05.2015 15:13:07] < 10492> net| Veeam RPC server started.
[27.05.2015 15:13:07] < 10492> net| Selected vRPC port: '2500'.
[27.05.2015 15:13:07] < 10492> net| Listening vRPC port '2500'.
[27.05.2015 15:13:07] < 13992> cli| Opening event: [VeeamEvent{c87e33a7-f9e9-49d7-ae17-69149f4c94f3}]
[27.05.2015 15:13:07] < 13992> cli| Opening shared memory: [VeeamMem{c87e33a7-f9e9-49d7-ae17-69149f4c94f3}]
[27.05.2015 15:13:07] < 10492> net| Accepted incoming vRPC connection from '127.0.0.1:55721'.
[27.05.2015 15:13:07] < 6248> cli| Thread started. Thread id: 6248, parent id: 10492, role: Client processor thread (127.0.0.1:55721)
[27.05.2015 15:13:07] < 6248> net| Client connected...
[27.05.2015 15:13:07] < 6248> cli| Creating session ( redirect output session: 'false')
[27.05.2015 15:13:07] < 6248> cli| Client works in standalone mode.
[27.05.2015 15:13:07] < 10492> net| Accepted incoming vRPC connection from '192.168.0.8:55722'.
[27.05.2015 15:13:07] < 9772> cli| Thread started. Thread id: 9772, parent id: 10492, role: Client processor thread (192.168.0.8:55722)
[27.05.2015 15:13:07] < 9772> net| Client connected...
[27.05.2015 15:13:08] < 9772> cli| Creating session ( redirect output session: 'true')
[27.05.2015 15:13:08] < 9772> cli| Registering stdin/stdout redirector: '12081344'.
[27.05.2015 15:13:08] < 9772> cli| Client works in standalone mode.
[27.05.2015 15:13:08] < 10492> net| Accepted incoming vRPC connection from '192.168.0.8:55723'.
[27.05.2015 15:13:08] < 7948> cli| Thread started. Thread id: 7948, parent id: 10492, role: Client processor thread (192.168.0.8:55723)
[27.05.2015 15:13:08] < 7948> net| Client connected...
[27.05.2015 15:13:08] < 7948> cli| Creating session ( redirect output session: 'false')
[27.05.2015 15:13:08] < 7948> cli| Client works in standalone mode.
[27.05.2015 15:13:08] < 9772> cli| Next client command: [prepStorageForWriteEx].
[27.05.2015 15:13:08] < 9772> cli| :> \\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk
[27.05.2015 15:13:08] < 9772> cli| :> 1024
[27.05.2015 15:13:08] < 9772> cli| :> 0
[27.05.2015 15:13:08] < 9772> stg| Checking whether storage to prepare is closed.
[27.05.2015 15:13:08] < 9772> cli| MTA backup apartment was created successfully, id '0x00b89be0'.
[27.05.2015 15:13:08] < 916> cli| Thread started. Thread id: 916, parent id: 9772, role: MTA invoke thread
[27.05.2015 15:13:08] < 916> cli| Entering MTA invoke thread.
[27.05.2015 15:13:08] < 916> stg| There is no file 'HostFS://\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk' in the files cache.
[27.05.2015 15:13:08] < 9772> stg| Upgrading/fixing storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk]. Standard block size: [1048576]. Block alignment logarithm: [0].
[27.05.2015 15:13:08] < 9772> stg| Opening storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk] for read/write access.
[27.05.2015 15:13:08] < 9772> cli| This path \\192.168.0.15\Veeam have not impersonation context
[27.05.2015 15:13:08] < 9772> ERR |Failed to check whether file '\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk' exists.
[27.05.2015 15:13:08] < 9772> ERR |Access is denied.
[27.05.2015 15:13:08] < 9772> stg| Opening storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk] for read/write access. Failed.
[27.05.2015 15:13:08] < 9772> stg| Upgrading/fixing storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk]. Standard block size: [1048576]. Block alignment logarithm: [0]. Failed.
[27.05.2015 15:13:08] < 9772> cli| Removing stdin/stdout redirector: '12081344'.
[27.05.2015 15:13:08] < 9772> ERR |Access is denied.
[27.05.2015 15:13:08] < 9772> >> |--tr:Failed to open storage for read/write access. Storage: [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> >> |--tr:Failed to upgrade/fix the storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> >> |--tr:Client failed to process the command. Command: [prepStorageForWriteEx].
[27.05.2015 15:13:08] < 9772> cli| Starting to send error string [Access is denied.
[27.05.2015 15:13:08] < 9772> cli| --tr:Failed to open storage for read/write access. Storage: [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> cli| --tr:Failed to upgrade/fix the storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> cli| --tr:Client failed to process the command. Command: [prepStorageForWriteEx].
[27.05.2015 15:13:08] < 9772> cli| --tr:event:3:
[27.05.2015 15:13:08] < 9772> cli| ] to manager.
[27.05.2015 15:13:08] < 9772> cli| Sending error string [Access is denied.
[27.05.2015 15:13:08] < 9772> cli| --tr:Failed to open storage for read/write access. Storage: [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> cli| --tr:Failed to upgrade/fix the storage [\\192.168.0.15\Veeam\Backup_SrvSQL_2015-05-27T151213.vbk].
[27.05.2015 15:13:08] < 9772> cli| --tr:Client failed to process the command. Command: [prepStorageForWriteEx].
[27.05.2015 15:13:08] < 9772> cli| --tr:event:3:
[27.05.2015 15:13:08] < 9772> cli| ] completed.
[27.05.2015 15:13:08] < 9772> net| Connection closed...
[27.05.2015 15:13:08] < 9772> cli| Thread finished. Role: 'Client processor thread (192.168.0.8:55722)'.
[27.05.2015 15:13:09] < 7948> cli| WARN|Input TCP stream was closed
[27.05.2015 15:13:09] < 7948> net| Connection closed...
[27.05.2015 15:13:09] < 7948> cli| Thread finished. Role: 'Client processor thread (192.168.0.8:55723)'.
[27.05.2015 15:13:09] < 6248> cli| Next client command: [shutdown].
[27.05.2015 15:13:09] < 6248> cli| Processing shutdown command.
[27.05.2015 15:13:09] < 14540> cli| Finalization thread: Received external stop event.
[27.05.2015 15:13:09] < 14540> cli| Thread finished. Role: 'Event listener thread'.
[27.05.2015 15:13:09] < 6248> net| Connection closed...
[27.05.2015 15:13:09] < 6248> cli| Thread finished. Role: 'Client processor thread (127.0.0.1:55721)'.
[27.05.2015 15:13:09] < 10492> net| Terminating by stop event in CTcpThread::WaitOrStop.
[27.05.2015 15:13:09] < 10492> net| Stopping client sessions.
[27.05.2015 15:13:09] < 10492> net| Veeam RPC server stopped.
[27.05.2015 15:13:09] < 10492> cli| Thread finished. Role: 'VRPC server thread'.
[27.05.2015 15:13:09] < 13992> cli| Cleaning all resumable operations.
[27.05.2015 15:13:09] < 13992> srv| Stopping srv. cleanup thread.
[27.05.2015 15:13:09] < 9844> srv| Finalizing srv. sessions.
[27.05.2015 15:13:09] < 9844> srv| Srv. cleanup thread is finished.
[27.05.2015 15:13:09] < 9844> cli| Thread finished. Role: 'Session container'.
[27.05.2015 15:13:09] < 13992> srv| Srv. cleanup thread was stopped.
[27.05.2015 15:13:09] < 13992> dsk| Removing attached vmdk disks.
[27.05.2015 15:13:09] < 13992> dsk| Disconnecting all VMs...
[27.05.2015 15:13:09] < 13992> dsk| Removing all vm connections
[27.05.2015 15:13:09] < 13992> dsk| All VMs were successfully disconnected.
[27.05.2015 15:13:09] < 13992> cli| Client has been stopped.
[27.05.2015 15:13:09] < 13992> cli| Destroying connection pools.
[27.05.2015 15:13:09] < 13992> cli| Destroying connection pools. ok.
[27.05.2015 15:13:09] < 13992> cli| Max system file cache limit disabled.
[27.05.2015 15:13:09] < 13992> cli| The agent session has finished successfully.
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Try to check whether the given computer account has write permission on a given share. Thanks.
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: May 27, 2015 6:56 am
- Full Name: Jens Hyldgaard Petersen
Re: Discussion on blog post: Update 2 featuring PowerShell
Thanks Eramin - now it is working
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Glad to hear my input was helpful. Feel free to ask me, should other help with scripting be needed. Thanks.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jun 03, 2015 8:40 am
- Full Name: Grégory Molin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Hy,
Thank for scripting for us.
I got "Start-VBRZip : License is not installed".
What's wrong ?
Grégory
Thank for scripting for us.
I got "Start-VBRZip : License is not installed".
What's wrong ?
Grégory
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
What product version you're using? Are you positive VB&R 8 Update 2 is installed? Thanks.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jun 03, 2015 8:40 am
- Full Name: Grégory Molin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Hi,
After the Update 2, it's work.
Thank
Grégory
After the Update 2, it's work.
Thank
Grégory
-
- Product Manager
- Posts: 20335
- Liked: 2277 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Discussion on blog post: Update 2 featuring PowerShell
Update 2 is required, because only in that release did we make Start-VBRZIP commandlet availabe in free edition. Thanks.
Who is online
Users browsing this forum: No registered users and 2 guests