Downloads:

2,108

Downloads of v 1.4.0:

199

Last Update:

07 Jun 2020

Package Maintainer(s):

Software Author(s):

  • vmware-tanzu

Tags:

velero kubernetes backup disaster-recovery

Velero CLI

This is not the latest version of Velero CLI available.

  • 1
  • 2
  • 3

1.4.0 | Updated: 07 Jun 2020

Downloads:

2,108

Downloads of v 1.4.0:

199

Maintainer(s):

Software Author(s):

  • vmware-tanzu

  • 1
  • 2
  • 3
Velero CLI 1.4.0

This is not the latest version of Velero CLI available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

To install Velero CLI, run the following command from the command line or from PowerShell:

>

To upgrade Velero CLI, run the following command from the command line or from PowerShell:

>

To uninstall Velero CLI, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade velero -y --source="'STEP 3 URL'" [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 velero -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure velero installed
  win_chocolatey:
    name: velero
    state: present
    version: 1.4.0
    source: STEP 3 URL

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


chocolatey_package 'velero' do
  action    :install
  version  '1.4.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: velero,
    Version: 1.4.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller velero
{
   Name     = 'velero'
   Ensure   = 'Present'
   Version  = '1.4.0'
   Source   = 'STEP 3 URL'
}

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


package { 'velero':
  provider => 'chocolatey',
  ensure   => '1.4.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install velero version="1.4.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator virtualex on 13 Jun 2020.

Description

Velero (formerly Heptio Ark) gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes. You can run Velero with a public cloud platform or on-premises. Velero lets you:

  • Take backups of your cluster and restore in case of loss.
  • Migrate cluster resources to other clusters.
  • Replicate your production cluster to development and testing clusters.

Velero consists of:

  • A server that runs on your cluster
  • A command-line client that runs locally

tools\chocolateyinstall.ps1
# Installs velero from a .tar.gz download link
# see: https://github.com/vmware-tanzu/velero/releases

$ErrorActionPreference = 'Stop'

# vars
$packageName = 'velero'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
  checksum64    = 'bc4e9d59929156af599e6899494f414a38233b146003083143d8422602340c6b'
  checksumType64= 'sha256'
  packageName   = $packageName
  unzipLocation = $toolsDir
  url64bit      = 'https://github.com/vmware-tanzu/velero/releases/download/v1.4.0/velero-v1.4.0-windows-amd64.tar.gz'
}

# Download archived binary
Install-ChocolateyZipPackage @packageArgs

# Untar binary
$file = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar
Get-ChocolateyUnzip -fileFullPath $file.FullName -destination $env:ChocolateyInstall\lib\$packageName\tools\

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.

Version Downloads Last Updated Status
Velero CLI 1.6.1 139 Tuesday, July 6, 2021 Approved
Velero CLI 1.6.0 429 Wednesday, April 14, 2021 Approved
Velero CLI 1.5.4 89 Saturday, April 3, 2021 Approved
Velero CLI 1.5.3 350 Monday, February 1, 2021 Approved
Velero CLI 1.5.2 381 Tuesday, November 3, 2020 Approved
Velero CLI 1.5.1 225 Saturday, September 19, 2020 Approved
Velero CLI 1.4.2.20200727 119 Monday, July 27, 2020 Approved
Velero CLI 1.4.2 147 Thursday, July 16, 2020 Approved
Velero CLI 1.4.0 199 Sunday, June 7, 2020 Approved

This package has no dependencies.

Discussion for the Velero CLI Package

Ground Rules:

  • This discussion is only about Velero CLI and the Velero CLI 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 Velero CLI, 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