-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 26, 2013 7:38 am
- Contact:
Config Backup, Application Group Settings, Dialog Boxes
Hi Folks
I am currently in the process of automating surebackup with a powershell script and ran into some issues.
1.) I want to remove old backup repositories and replace it with a new one.
However, veeam stores its config backup in an old one and wants it to be swapped beforehand.
i could not find a way to do this in powershell.
right now i have to pause the script and wait for the user to manually switch the configbackup to the new repository.
2.) I cant figure out how to set roles for VMs in application groups.
when an application group is created in the gui, one can select the VMS and set roles/add scripts.
I cant find a way to do this in powershell.
3.) several cmdlets prompt for user interaction with dialog boxes. i tried to suppress them but it didnt work.
what is the right way to do this?
I am currently in the process of automating surebackup with a powershell script and ran into some issues.
1.) I want to remove old backup repositories and replace it with a new one.
However, veeam stores its config backup in an old one and wants it to be swapped beforehand.
i could not find a way to do this in powershell.
right now i have to pause the script and wait for the user to manually switch the configbackup to the new repository.
2.) I cant figure out how to set roles for VMs in application groups.
when an application group is created in the gui, one can select the VMS and set roles/add scripts.
I cant find a way to do this in powershell.
3.) several cmdlets prompt for user interaction with dialog boxes. i tried to suppress them but it didnt work.
what is the right way to do this?
-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 26, 2013 7:38 am
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
also, it seems one can not configure Virtual Lab settings, like Network
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
It seems, indeed, that you can’t change any of the abovementioned settings via PS; at least, I don’t the way how it can be achieved.Config backup, Virtual Lab, Linked Jobs
I’m wondering about what cmdlets you’re talking about. Thanks.several cmdlets prompt for user interaction with dialog boxes
-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 26, 2013 7:38 am
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
I’m wondering about what cmdlets you’re talking about. Thanks.
Code: Select all
Remove-VSBApplicationGroup
Remove-VSBJob
Remove-VSBVirtualLab
Remove-VBRServer
It would be really awesome if it would be possible to automate things without... well.. interaction
I am fairly new to powershell and pretty sure i miss something here.
I don't mind the missing config-backup cmdlet that much, although its annoying..It seems, indeed, that you can’t change any of the abovementioned settings via PS; at least, I don’t the way how it can be achieved.
But not to be able to create Surebackup jobs that actually work... would render half of the Surebackup related cmdlets rather useless.
Could there be any other way? Fiddling with Objects, or importing XML configs?
I refuse to belief that theres no hackish way around.
kind regards
-
- Veteran
- Posts: 293
- Liked: 19 times
- Joined: Apr 13, 2011 12:45 pm
- Full Name: Thomas McConnell
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
The removal ones mostly have confirmations on them because of what your doing, sort of safe gaurd so you don't get caught with your pants down firing bad commands
Code: Select all
Add-VSBViApplicationGroup -Name "Test App Group" -Vm (Find-VBRViEntity -Name "dc01.vPowerCLI.local")
Remove-VSBApplicationGroup -AppGroup (Get-VSBApplicationGroup -Name "Test App Group") -Confirm:$false
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
As correctly mentioned, you might want to use -confirm:$false in conjunction with these functions in order to suppress confirmation.Remove-VSBApplicationGroup
Remove-VSBJob
Remove-VSBVirtualLab
Remove-VBRServer
Additionally, there is a very useful WhatIF switch in these commands that allows running a PowerShell script without actually running it. Rather than actually running the commands, the WhatIf switch only displays what the outcome of running the script would be if it were actually run. There are plenty of times when watching the output of a running script can tell you that it is NOT running properly, especially, when you don’t feel confident in PS or performing some irreversible activity, such as deletion job, Application Groups, etc.
Thanks.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Jul 26, 2013 7:38 am
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Thank you very much! Works like a charm. I knew i missed somethingRemove-VSBApplicationGroup -AppGroup (Get-VSBApplicationGroup -Name "Test App Group") -Confirm:$false
About the Application Group and Virtual Lab configuration options...
will such 'enhancements' be implemented in v7?
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
While there certainly will be a variety of new cmdlets, ones mentioned by you are likely to stay unchanged in the upcoming version of Veaam Backup and Replication. However, please be aware that these forums are always thoughtfully monitored for potential features.
So, thank you for the feedback; highly appreciated.
Thanks.
So, thank you for the feedback; highly appreciated.
Thanks.
-
- Influencer
- Posts: 16
- Liked: never
- Joined: Aug 17, 2010 12:21 pm
- Full Name: Stefan Specht
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
It seems that in v8 there is still no possibility to adjusting maximum allowed boot time or assigning roles to VMs in an Applicationgroup by Powershell.
Is it planned for v9?
Our VMs need about 15 minutes to boot up. So adjusting the max boot time for the VMs is the the last piece, we would need for our automation...
Is it planned for v9?
Our VMs need about 15 minutes to boot up. So adjusting the max boot time for the VMs is the the last piece, we would need for our automation...
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
You're right, those settings aren't configurable via PowerShell.It seems that in v8 there is still no possibility to adjusting maximum allowed boot time or assigning roles to VMs in an Applicationgroup by Powershell.
It depends on dev. resource availability and its priority in comparison with other features that are covered in PS yet.Is it planned for v9?
Thanks.
-
- Service Provider
- Posts: 1
- Liked: 1 time
- Joined: Jun 15, 2015 8:40 am
- Full Name: Hans Leysen
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Hello Vladimir
We have sort of the same request.
I'm currently looking at the dynamic surebackup script from your colleague Luca Dell'oca.
(Details: http://www.virtualtothecore.com/en/can- ... urebackup/)
It's really an elegant solution if you want to test +1000 VM backups over a longer period of time.
In order to speed up the process we would like to deselect the "application initialization timeout" option (default 120 sec) from within powershell.
It seems this powershell cmdlet is currently not available. (Please correct me if i'm wrong.)
Since we just boot up the VM from backup to do the heartbeat test, waiting for the application initialization is lost time.
On for example 20 VM's we lose in total 40 minutes per surebackup iteration.
We would also like to have the option to boot up VM's in a parallel fashion in order to speed up the surebackup process.
For example per 2 or 3 VM's concurrently.
Best regards
We have sort of the same request.
I'm currently looking at the dynamic surebackup script from your colleague Luca Dell'oca.
(Details: http://www.virtualtothecore.com/en/can- ... urebackup/)
It's really an elegant solution if you want to test +1000 VM backups over a longer period of time.
In order to speed up the process we would like to deselect the "application initialization timeout" option (default 120 sec) from within powershell.
It seems this powershell cmdlet is currently not available. (Please correct me if i'm wrong.)
Since we just boot up the VM from backup to do the heartbeat test, waiting for the application initialization is lost time.
On for example 20 VM's we lose in total 40 minutes per surebackup iteration.
We would also like to have the option to boot up VM's in a parallel fashion in order to speed up the surebackup process.
For example per 2 or 3 VM's concurrently.
Best regards
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Indeed, you cannot change these settings via PowerShell at the moment. Though, we're thinking about adding this functionality down the road. Thanks.Please correct me if i'm wrong
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Feb 18, 2011 8:04 am
- Full Name: cm
- Contact:
[MERGED] create advanced virtual labs with powershel
Case #01992236
Hello together,
we like to use sure backup Jobs. Our Servers are located in many different subnets and vlans. It is necessary, that servers from one subnet can connect to servers in other subnets. So we need to use advanced virtual labs. Building these labs manually is very time consuming and cause errors.
I tried to use powershell, but find out that the cmdlets only support the creation of basic virtual labs.
==> It would be great if the powershell cmdlets would create advanced virtual labs (single and multihost).
Thanks
Conrad
Hello together,
we like to use sure backup Jobs. Our Servers are located in many different subnets and vlans. It is necessary, that servers from one subnet can connect to servers in other subnets. So we need to use advanced virtual labs. Building these labs manually is very time consuming and cause errors.
I tried to use powershell, but find out that the cmdlets only support the creation of basic virtual labs.
==> It would be great if the powershell cmdlets would create advanced virtual labs (single and multihost).
Thanks
Conrad
-
- Influencer
- Posts: 24
- Liked: never
- Joined: Jun 17, 2015 3:03 pm
- Full Name: Chris Armitage
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Did this get added do we know?v.Eremin wrote: Indeed, you cannot change these settings via PowerShell at the moment. Though, we're thinking about adding this functionality down the road. Thanks.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Nope, the said functionality has not been added in Update 1, and honestly I'd not expect it these features to be implemented in product updates (one of the major releases would be a more accurate guess) . Thanks.
-
- Service Provider
- Posts: 2
- Liked: never
- Joined: Apr 11, 2013 1:31 pm
- Full Name: Mark van der Hijden
[MERGED] Add restorepoint to Application Group through comma
Hi,
We are creating an SureBackup Application Group by the command Add-VSBViApplicationGroup with the following command:
The Application Group is correctly created, but now I want to add an extra restorepoint to this Application Group by command. Does anyone has an idea how to do this? of which command I should use?
We are creating an SureBackup Application Group by the command Add-VSBViApplicationGroup with the following command:
Code: Select all
Add-VSBViApplicationGroup -Name "Application Group" -RestorePoint (Get-VBRRestorePoint -Name "<VM NAME>")
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
Unfortunately, you cannot modify these settings via PS currently. Thanks.
-
- Service Provider
- Posts: 2
- Liked: never
- Joined: Apr 11, 2013 1:31 pm
- Full Name: Mark van der Hijden
Re: Config Backup, Application Group Settings, Dialog Boxes
Any change this feature will be there in the future?
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Config Backup, Application Group Settings, Dialog Boxes
It's tracked internally, but I cannot provide any time frame when it will be implemented. Thanks.
Who is online
Users browsing this forum: No registered users and 8 guests