## VeeamHub
Veeamhub projects are community driven projects, and are not created by Veeam R&D nor validated by Veeam Q&A. They are maintained by community members which might be or not be Veeam employees.
### Distributed under MIT license
Copyright (c) 2018 VeeamHub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# Automated Configuration of Veeam Backup & Replication Server Infrastructure, Repositories and Jobs
PowerShell script to configure a freshly installed Veeam Backup & Replication Server ready for use with local and cloud based repositories with default Tag based Backup Job Policies created
Performs a number of configuration actions against a Veeam Backup & Replication Server as per the included functions.
- Attach a vCenter
- Add and configure Cloud Connect Backup and/or Replication Provider
- Add and configure a Linux Based Repository
- Create vSphere Tag Catagories and Tags
- Create a set of default Tag Based Policy Backup Jobs
- Clears all configured settings
Note: To be run on a Server installed with the Veeam Backup & Replicaton Console
Note: There is no error checking or halt on error function
Note: To add Linux Repository you need key based access configured and the corresponding private key file
Note: Set desired Veeam and vCenter variables in config.json
## Requirements
- Veeam Backup & Replication Console (Update 4 in order to Configure Capacity Tier for SOBR)
- Veeam Backup & Replication Details and Credentials
- vSphere Details and Credentials
- Linux Server Details and Credentials*
- Veeam Cloud Connect Provider Credentials*
- AWS Access and Secret key along with Amazon S3 Bucket Details*
*Can be excluded from config
## Getting Started
PARAMETER Runall - Runs all the functions
PARAMETER RunVBRConfigure - Runs all the functions to configure the Veeam Backup & Replication Server
PARAMETER CloudConnectOnly - Used on it's own to configure a Cloud Connect Provider
PARAMETER CloudConnectNEA - When used with RunAll or RunVBRConfigure will deploy and configure the Cloud Connect Network Extension Appliance
PARAMETER NoCloudConnect - When used with RunAll or RunVBRConfigure or CloudConnectOnly will not configure the Cloud Connect component
PARAMETER NoLinuxRepo - When used with RunAll or RunVBRConfigure will not add and configure the Linux Repository
PARAMETER NoDefaultJobs - Will not configure Tags or Default Jobs when run with RunVBRConfigure
PARAMETER ConfigureSOBR - Will configure a SOBR with two extents when run with RunVBRConfigure with an AWS S3 Capacity Teir
PARAMETER NoCapacityTier - Will not configure an AWS S3 Based Object Storage Repo when used with ConfigureSOBR
PARAMETER ClearVBRConfig - Will clear all previously configured settings and return Veeam Backup & Replication Server to default install
EXAMPLE - PS C:\>configure_veeam.ps1 -RunVBRConfigure -NoLinuxRepo
EXAMPLE - PS C:\>configure_veeam.ps1 -ClearVBRConfig
EXAMPLE - PS C:\>configure_veeam.ps1 -RunVBRConfigure -ConfigureSOBR -NoCapacityTier
## config.json Breakdown
All of the variables are configured in the config.json file. Nothing is required to be changed in the main configure script.
{
"LinuxRepo": {
"VBRServer":"localhost",
"IpAddress":"",
"Username": "centos",
"Key":"C:\\veeam_aws_vmc_2509\\KEY-VEEAM-03.pem",
"RepoName":"AWS-US-1-REPO-01",
"RepoFolder":"/home/repo01"
},
"SOBRRepo": {
"AWSAccesskey":"",
"AWSSecretkey":"",
"S3Folder": "",
"S3Bucket":"",
"ObjectStorageRepoName":"",
"ObjectStorageRepoLimit":"",
"RepoName":"",
"RepoExtent1":"",
"RepoExtent2":"",
"RepoPath1":"",
"RepoPath2":"",
"RestoreWindow":""
},
"VCCProvider": {
"VBRServer":"172.17.0.229",
"vCenterServer":"lab-vc-01.sliema.lab",
"vCenterDVS":"LAB-DVS-00",
"vCenterPortGroup":"VM-Management",
"vCenterDatastore":"HDD-1",
"vCenterResPool":"SDDC",
"ESXiHost":"lab-node-01.sliema.lab",
"CCUserName":"VCC_USERNAME",
"CCPassword":"VCC_PASSWORD",
"CCServerAddress":"VCC_PROVIDER_ENDPOINT",
"CCRepoName":"VCC_REPO",
"CCPort":"6180",
"NEAIPAddress":"192.168.1.239",
"NEASubnetMask":"255.255.255.0",
"NEAGateway":"192.168.1.254"
},
"VBRCredentials": {
"VBRServer":"192.168.1.231",
"Username":"USERNAME",
"Password":"PASSWORD"
},
"VMCCredentials": {
"vCenter":"lab-vc-01.sliema.lab",
"Username":"USERNAME",
"Password":"PASSWORD"
},
"VBRJobDetails": {
"DefaultRepo1":"Default Backup Repository",
"Job1":"CCR-01",
"Job2":"CCB-02",
"Job3":"CCB-03",
"TagCatagory1":"Backup",
"TagCatagory2":"Replication",
"Tag1":"TIER-1",
"Tag2":"TIER-2",
"Tag3":"TIER-3",
"FullDay":"Friday",
"Time1":"22:00",
"Time2":"02:00",
"RestorePoints1":"7",
"RestorePoints2":"30"
}
}
### Improvements and Enhancements
- [ ] Error Checking
- [ ] Add Option for External Windows Repository
- [ ] Creat Default Cloud Connect Replication
没有合适的资源?快使用搜索试试~ 我知道了~
powershell:各种Veeam产品相关的PowerShell脚本
共272个文件
ps1:127个
md:100个
png:13个
需积分: 10 3 下载量 111 浏览量
2021-04-02
22:53:33
上传
评论
收藏 2.45MB ZIP 举报
温馨提示
Veeam Powershell存储库 可重复使用/修改的Powershell示例脚本。 请不要仅仅执行脚本而不了解每一行的功能。 该存储库中的脚本是社区驱动的项目,不是由Veeam R&D创建或未经Veeam Q&A验证的。 他们由可能不是Veeam员工的社区成员维护。 :green_book: 文献资料 可以在每个脚本中找到文档和使用说明。 :writing_hand: 会费 我们欢迎社会各界的贡献! 我们鼓励您为Bug和功能请求创建,并提交请求请求以添加/更新脚本。 有关更多详细信息,请参阅《 。 :handshake::medium-dark_skin_tone:执照 :thinking_face: 问题 如果您有任何疑问或不清楚的地方,请随时提出并告知我们!
资源详情
资源评论
资源推荐
收起资源包目录
powershell:各种Veeam产品相关的PowerShell脚本 (272个子文件)
OrphanedBackupsDetail.csv 114KB
VBOSessionLog.csv 57KB
VeeamAHVBackupSessionReport.csv 1KB
AHVProtectedVMsReport.csv 420B
dr2ec2.csv 146B
example-shares.csv 45B
.DS_Store 6KB
vawinstallhelper.exe 3.19MB
.gitattributes 65B
.gitignore 9B
config.json 2KB
config.json 1KB
version.json 862B
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
VBRJobObject.md 376KB
VBRRestorePoint.md 243KB
VBRBackupSessionTaskSession.md 167KB
VBRJob.md 105KB
VBRBackupSession.md 89KB
VBRBackupPoint.md 73KB
VBRJobOptions.md 34KB
VBRBackup.md 31KB
VBRBackupStorage.md 19KB
VBRJobObjectVssOptions.md 14KB
VBRJobVSSOptions.md 13KB
README.md 7KB
VBRJobScheduleOptions.md 7KB
README.md 6KB
README.md 5KB
README.md 5KB
CONTRIBUTING.md 4KB
CONTRIBUTING.md 4KB
README.md 4KB
README.md 4KB
README.md 4KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 2KB
README.md 2KB
readme.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
readme.md 2KB
README.md 2KB
README.md 2KB
readme.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
DCO.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 2KB
README.md 1KB
README.md 1KB
README.md 1KB
pull_request_template.md 1KB
readme.md 1KB
README.md 1KB
README.md 1KB
README.md 1KB
共 272 条
- 1
- 2
- 3
起名什么的最烦啦
- 粉丝: 14
- 资源: 4640
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0