-
- Lurker
- Posts: 1
- Liked: 1 time
- Joined: Jun 02, 2022 12:04 pm
- Full Name: Petr Netusil
- Contact:
Feature request: Script generation
Hi,
it would be great if there was a feature to generate Powershell scripts from existing objects. Ability to do so would be a great help for creating a fully automated VBR deployment using infrastructure as code approach.
My thinking was:
1. Automate VBR server installation using parameters - I didn't do any research yet but I hope it is possible.
2. Automate the whole VBR configuration using Powershell:
-configuring general options, users, license ...
-creating backup infrastructure - repositories, managed servers ...
-creating protected groups, adding computers, distributing Veeam agents
-creating backup jobs with all parameters
The goal is to automate installation and configuration, not restoring from configuration backup.
It takes a lot of time and learning curve to be able to script everything from the scratch. But if you could create all objects in GUI and then generate scripts based on them, it would be much faster and also it would be a great way to actually teach yourself to script from such examples.
Such a feature - generating scripts from existing objects - exists in MS SQL server and I was hoping that there is a similar option in Veeam.
Thanks,
Petr
it would be great if there was a feature to generate Powershell scripts from existing objects. Ability to do so would be a great help for creating a fully automated VBR deployment using infrastructure as code approach.
My thinking was:
1. Automate VBR server installation using parameters - I didn't do any research yet but I hope it is possible.
2. Automate the whole VBR configuration using Powershell:
-configuring general options, users, license ...
-creating backup infrastructure - repositories, managed servers ...
-creating protected groups, adding computers, distributing Veeam agents
-creating backup jobs with all parameters
The goal is to automate installation and configuration, not restoring from configuration backup.
It takes a lot of time and learning curve to be able to script everything from the scratch. But if you could create all objects in GUI and then generate scripts based on them, it would be much faster and also it would be a great way to actually teach yourself to script from such examples.
Such a feature - generating scripts from existing objects - exists in MS SQL server and I was hoping that there is a similar option in Veeam.
Thanks,
Petr
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Feature request: Script generation
Hi Petr,
1. It's totally possible and supported. Have a look at this guide.
2. Interesting thoughts, I remember encountering this kind of request a while ago. You have an association with MS SQL server, and I think of cli/rest examples provided in some google cloud console wizards
Can't promise anything precise on this matter, because the feature is more likely a nice-to-have, but I'll monitor the demand and research what possibilities we might have here.
Thanks,
Oleg
1. It's totally possible and supported. Have a look at this guide.
2. Interesting thoughts, I remember encountering this kind of request a while ago. You have an association with MS SQL server, and I think of cli/rest examples provided in some google cloud console wizards
Can't promise anything precise on this matter, because the feature is more likely a nice-to-have, but I'll monitor the demand and research what possibilities we might have here.
Thanks,
Oleg
-
- Veeam Vanguard
- Posts: 635
- Liked: 154 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: Feature request: Script generation
Having the option to see changes made in VBR and what the Powershell script would like definitely would be beneficial. I think this would be a good thing in Veeam for sure.pne wrote: ↑Jun 02, 2022 12:28 pm Hi,
it would be great if there was a feature to generate Powershell scripts from existing objects. Ability to do so would be a great help for creating a fully automated VBR deployment using infrastructure as code approach.
My thinking was:
1. Automate VBR server installation using parameters - I didn't do any research yet but I hope it is possible.
2. Automate the whole VBR configuration using Powershell:
-configuring general options, users, license ...
-creating backup infrastructure - repositories, managed servers ...
-creating protected groups, adding computers, distributing Veeam agents
-creating backup jobs with all parameters
The goal is to automate installation and configuration, not restoring from configuration backup.
It takes a lot of time and learning curve to be able to script everything from the scratch. But if you could create all objects in GUI and then generate scripts based on them, it would be much faster and also it would be a great way to actually teach yourself to script from such examples.
Such a feature - generating scripts from existing objects - exists in MS SQL server and I was hoping that there is a similar option in Veeam.
Thanks,
Petr
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Feature request: Script generation
Thanks Chris, noted!
-
- Product Manager
- Posts: 5796
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Feature request: Script generation
There are also some scripts on VeeamHUB. These can help you with automation and ideas.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Veeam Vanguard
- Posts: 635
- Liked: 154 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: Feature request: Script generation
Yes another great resource is VeeamHub which I also use.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Who is online
Users browsing this forum: No registered users and 16 guests