Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

5,308

Downloads of v 10.0.0.4461:

629

Last Update:

18 Feb 2020

Package Maintainer(s):

Software Author(s):

  • Veeam Software AG

Tags:

veeam-backup-and-replication-server veeam server admin

Veeam Backup & Replication Server

This is not the latest version of Veeam Backup & Replication Server available.

  • 1
  • 2
  • 3

10.0.0.4461 | Updated: 18 Feb 2020

Downloads:

5,308

Downloads of v 10.0.0.4461:

629

Maintainer(s):

Software Author(s):

  • Veeam Software AG

Veeam Backup & Replication Server 10.0.0.4461

This is not the latest version of Veeam Backup & Replication Server available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

The package has a number of dependent packages that require a reboot.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Veeam Backup & Replication Server, run the following command from the command line or from PowerShell:

>

To upgrade Veeam Backup & Replication Server, run the following command from the command line or from PowerShell:

>

To uninstall Veeam Backup & Replication Server, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade veeam-backup-and-replication-server -y --source="'INTERNAL REPO URL'" --version="'10.0.0.4461'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade veeam-backup-and-replication-server -y --source="'INTERNAL REPO URL'" --version="'10.0.0.4461'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install veeam-backup-and-replication-server
  win_chocolatey:
    name: veeam-backup-and-replication-server
    version: '10.0.0.4461'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'veeam-backup-and-replication-server' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '10.0.0.4461'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller veeam-backup-and-replication-server
{
    Name     = "veeam-backup-and-replication-server"
    Version  = "10.0.0.4461"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'veeam-backup-and-replication-server':
  ensure   => '10.0.0.4461',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 18 Feb 2020.

Description

Exit when reboot detected

When installing / upgrading these packages, I would like to advice you to enable this feature choco feature enable -n=exitOnRebootDetected

Industry-leading backup, recovery and replication software

Veeam® Backup & Replication™ helps businesses achieve comprehensive data protection for ALL workloads — virtual, physical and cloud-based workloads. With a single console, achieve fast, flexible and reliable backup, recovery and replication of all applications and data.

NOTE You do have to install a SQL Server before you can use this package.

To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.

Package Parameters

The package accepts the following optional parameters:

  • /nfsDatastoreLocation - Specifies the vPower cache folder to which the write cache will be stored. By default, Veeam Backup & Replication uses the folder on a volume with the maximum amount of free space, for example, C:\ProgramData\Veeam\Backup\NfsDatastore.
  • /backupPort - Specifies a TCP port that will be used by the Veeam Backup Service. By default, port number 9392 is used.
  • /mountserverPort - Specifies a port used for communication between the mount server and the backup server. By default, port 9401 is used.
  • /licenseFile - Specifies a full path to the license file. If you do not specify this parameter, Veeam Backup & Replication will operate in the Community Edition mode.
  • /sqlServer - Specifies a Microsoft SQL server and instance on which the configuration database will be deployed. By default, Veeam Backup & Replication uses the (local)\VEEAMSQL2012 server for machines running Microsoft Windows 7, Microsoft Windows Server 2008 or Microsoft Windows Server 2008 R2, and (local)\VEEAMSQL2016 for machines running Microsoft Windows Server 2012 or later.
  • /sqlDatabase - Specifies a name for the configuration database. By default, the configuration database is deployed with the VeeamBackup name.
  • /sqlAuthentication - Specifies if you want to use the SQL Server authentication mode to connect to the Microsoft SQL Server where the Veeam Backup & Replication configuration database is deployed. Specify if you want to use the SQL Server authentication mode. If you do not specify this parameter, Veeam Backup & Replication will connect to the Microsoft SQL Server in the Microsoft Windows authentication mode.
  • /sqlUsername - This parameter must be used if you have specified the /sqlAuthentication parameter. Specifies a LoginID to connect to the Microsoft SQL Server in the SQL Server authentication mode.
  • /sqlPassword - This parameter must be used if you have specified the /sqlAuthentication parameter. Specifies a password to connect to the Microsoft SQL Server in the SQL Server authentication mode.
  • /username - Specifies the account under which the Veeam Backup Service will run. The account must have full control NTFS permissions on the VBRCatalog folder where index files are stored and the Database owner rights for the configuration database on the Microsoft SQL Server where the configuration database is deployed. If you do not specify this parameter, the Veeam Backup Service will run under the Local System account.
  • /password - This parameter must be used if you have specified the /username parameter. Specifies a password for the account under which the Veeam Backup Service will run.
  • /create - Create the requested user on this machine, this user will be added to the local Administrators group.

Example: choco install veeam-backup-and-replication-server --params "/port:9000 /nfsDatastoreLocation:D:\ProgramData\Veeam\Backup\NfsDatastore\"

Please Note: This is an automatically updated package. If you find it is
out of date by more than a day or two, please contact the maintainer(s) and
let them know the package is no longer updating correctly.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$isoPackageName = 'veeam-backup-and-replication-iso'
$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$commonPath = $(Split-Path -parent $(Split-Path -parent $scriptPath))
$filename = 'VeeamBackup&Replication_10.0.0.4461.iso'
$installPath = Join-Path  (Join-Path $commonPath $isoPackageName) $filename

$fileLocation = 'Backup\Server.x64.msi'
$updateFileVersion = ($filename -replace 'VeeamBackup&Replication_' -replace '.iso').ToLower()
$updateFileLocation = "Updates\veeam_backup_$($updateFileVersion)_setup.exe"

$pp = Get-PackageParameters

$silentArgs = ""

if ($pp.nfsDatastoreLocation) {
  $silentArgs += " VBR_NFSDATASTORE=`"$($pp.nfsDatastoreLocation)`""
  if(!(Test-Path -Path $pp.catalogLocation )){
    New-Item -Path $pp.catalogLocation -ItemType Directory
  }
}

if ($pp.backupPort) {
  $silentArgs += " VBR_SERVICE_PORT=$($pp.backupPort)"
}

if ($pp.mountserverPort) {
  $silentArgs += " VBR_SECURE_CONNECTIONS_PORT=$($pp.mountserverPort)"
}

if ($pp.mountserverPort) {
  $silentArgs += " VBR_SECURE_CONNECTIONS_PORT=$($pp.mountserverPort)"
}

if ($pp.sqlServer) {
  $silentArgs += " VBR_SQLSERVER_SERVER=$($pp.sqlServer)"
}

if ($pp.sqlDatabase) {
  $silentArgs += " VBR_SQLSERVER_DATABASE=$($pp.sqlDatabase)"
}

if ($pp.sqlAuthentication) {
  if(-not $pp.sqlPassword -or -not $pp.sqlUsername) {
    throw 'sqlUsername and sqlPassword are required when using sqlAuthentication...'
  }
  $silentArgs += " VBR_SQLSERVER_AUTHENTICATION=$($pp.sqlAuthentication) VBR_SQLSERVER_USERNAME=`"$($pp.sqlUsername)`" VBR_SQLSERVER_PASSWORD=`"$($pp.sqlPassword)`""
}

if ($pp.username) {
  $computername = $env:computername
  $fulluser = $pp.username
  if ($pp.username -notmatch "\\") {
    $fulluser = "$($computername)\$($pp.username)"
  }
  if(-not $pp.password) {
    throw 'Password is required when setting a username...'
  }
  if ($pp.create) {
    if ($pp.username -match "\\") {
      throw "Only local users can be created"
    }

    if (Get-WmiObject -Class Win32_UserAccount | Where-Object {$_.Name -eq $pp.username}) {
      Write-Warning "The local user already exists, not creating again"
    } else {
      net user $pp.username $pp.password /add /PASSWORDCHG:NO
      wmic UserAccount where ("Name='{0}'" -f $pp.username) set PasswordExpires=False
      net localgroup "Administrators" $pp.username /add    }
  }
  $silentArgs += " VBR_SERVICE_USER=`"$($fulluser)`" VBR_SERVICE_PASSWORD=`"$($pp.password)`""
}

if ($pp.licenseFile) {
  if(!(Test-Path -Path $pp.licenseFile )){
    throw "Invalid license file provided"
  }
  $silentArgs += " VBR_LICENSE_FILE=$($pp.licenseFile)"
}



$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  isoFile        = $installPath
  softwareName  = 'Veeam Backup & Replication Server*'
  file           = $fileLocation
  fileType       = 'msi'
  silentArgs     = "$($silentArgs) VBR_AUTO_UPGRADE=1 ACCEPTEULA=YES ACCEPT_THIRDPARTY_LICENSES=1 /qn /norestart /l*v `"$env:TEMP\$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.log`""
  validExitCodes = @(0,1638,1641,3010) #1638 was added to allow updating when an newer version is already installed.
  destination    = $toolsDir
}

Install-ChocolateyIsoInstallPackage @packageArgs

# An update file is provided in the ISO. This should be executed after
# the installation of the software.
# This update file contains an update to all available software on the
# ISO and should be executed After each installation.
#
# This should be in a seperate package, but you can't trigger / force a
# dependency after the installation Therefore I need to trigger it this way.
If ($filename -Match "Update") {
  $updatePackageArgs = @{
    packageName    = $env:ChocolateyPackageName
    isoFile        = $installPath
    softwareName   = $packageArgs['softwareName']
    file           = $updateFileLocation
    fileType       = 'exe'
    silentArgs     = "VBR_AUTO_UPGRADE=1 /silent /noreboot /log `"$env:TEMP\$env:ChocolateyPackageName.$env:ChocolateyPackageVersion.log`""
    validExitCodes = @(0,1641,3010)
    destination    = $toolsDir
  }

  Install-ChocolateyIsoInstallPackage @updatePackageArgs
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Veeam Backup & Replication Server 11.0.0.837 578 Wednesday, February 24, 2021 Approved
Veeam Backup & Replication Server 10.0.1.4854 908 Saturday, August 1, 2020 Approved
Veeam Backup & Replication Server 10.0.0.4461 629 Tuesday, February 18, 2020 Approved
Veeam Backup & Replication Server 9.5.4.2866 1150 Friday, September 6, 2019 Approved
Veeam Backup & Replication Server 9.5.4.2753 224 Friday, July 5, 2019 Approved
Discussion for the Veeam Backup & Replication Server Package

Ground Rules:

  • This discussion is only about Veeam Backup & Replication Server and the Veeam Backup & Replication Server package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Veeam Backup & Replication Server, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus