velero | migrate Kubernetes applications and their persistent volumes | Continuous Backup library

 by   vmware-tanzu Go Version: v1.10.3 License: Apache-2.0

kandi X-RAY | velero Summary

kandi X-RAY | velero Summary

velero is a Go library typically used in Backup Recovery, Continuous Backup applications. velero has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

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:.

            kandi-support Support

              velero has a medium active ecosystem.
              It has 7397 star(s) with 1225 fork(s). There are 137 watchers for this library.
              There were 10 major release(s) in the last 12 months.
              There are 418 open issues and 2707 have been closed. On average issues are closed in 73 days. There are 39 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of velero is v1.10.3

            kandi-Quality Quality

              velero has 0 bugs and 0 code smells.

            kandi-Security Security

              velero has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              velero code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              velero is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              velero releases are available to install and integrate.
              It has 74714 lines of code, 3135 functions and 671 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of velero
            Get all kandi verified functions for this library.

            velero Key Features

            No Key Features are available at this moment for velero.

            velero Examples and Code Snippets

            No Code Snippets are available at this moment for velero.

            Community Discussions


            velero backups failing for "backup resource list not found"
            Asked 2022-Feb-26 at 16:08

            After the upgrade of velero from 1.3.2 to 1.7.7 backups started failing. When describing the failing backup:



            Answered 2022-Feb-13 at 13:37

            Not sure if this solves the issue for everyone, but it worked for me. After searching inside the velero source code repo, I located the following go package velero/pkg/cmd/util/output/backup_describer.go that contained the error message I found when describing the failing backup.

            See line 328 (1)

            The hints at (2) in the source code led me to search on upload issues. As I am using the velero-plugin-for-microsoft-azure to handle uploads to Azure the following GitHub issue finally gave me the nudge in the right direction.

            Seems like the velero-plugin-for-microsoft-azure required more memory (512Mi) since v1.5.3 (if I understood it correctly). The limits on my one were still at 256Mi and failing, I increased the limits to 512Mi and, presto! It started working again.
            A big shout out to David L. Smith-Uchida whose breadcrumbs led me to the solution!



            How to create custom objects in Kubernetes?
            Asked 2022-Feb-07 at 18:09

            I am using Velero to create and backup and restore, Velero has controllers which get triggered when I can create the custom objects.



            Answered 2022-Feb-07 at 18:09

            If you would like to create a client for custom object follow the following steps:

            1. Describe the custom resource for which you would like to create a rest client:



            Trouble creating Velero storage location with storage access key
            Asked 2022-Jan-14 at 21:21

            i'm trying to use Velero to backup an AKS cluster but for some reason i'm unable to set the backup location in velero.

            i'm getting the error below

            I can confirm the credentials-velero file I have obtains the correct storage access key, and the secret (cloud-credentials) reflects it as well.

            Kind of at a lost as to why it's throwing me this error. Never used Velero before.


            So I used the following commands to get the credential file:

            Obtain the Azure Storage account access key



            Answered 2022-Jan-08 at 06:43

            not sure how your cred file formatting is and the command you are running.

            Please try the below file and update the command as per need.

            Example command :



            backup store for location "default" is invalid
            Asked 2021-Aug-03 at 15:00

            I'm trying to setup velero for multiple clusters in multiple AWS regions, although i'm using Github Actions and run backup in two different VMs, the EKS cluster at us-east-1 is taking backup without any issues, but not the cluster at ap-southeast-2. Below is my velero install command which i use and it's getting installed without any issues, but backup is failing for ap-southeast-2 cluster and in pod logs getting below error.



            Answered 2021-Aug-03 at 15:00

            So fixed it by creating a creds.json and referencing the file while installing velero. no-secrets works well for us-east-1 but not for other regions though.



            How can I change my Velero credentials after they were reset
            Asked 2021-Aug-01 at 22:29

            I have an Azure Kubernetes cluster with Velero installed. A Service Principal was created for Velero, per option 1 of the instructions.

            Velero was working fine until the credentials for the Service Principal were reset. Now the scheduled backups are failing.



            Answered 2021-Aug-01 at 22:29
            1. Update credentials file

            First, update your credentials file (for most providers, this is credentials-velero and the contents are described in the plugin installation instructions: AWS, Azure, GCP)

            2. Update secret

            Now update the velero secret. On linux:



            Longhorn backup/snapshot hooks
            Asked 2021-Jun-01 at 10:20

            How do I configure Longhorn backup so it executes some bash scripts in the pod before and after snapshot/backup is taken?

            Something similar to Velero's backup hooks.



            Answered 2021-Jun-01 at 10:20

            Apparently not possible at the moment, according to the longhorn github issue.

            You can orchestrate similar behaviour by using volume snapshot



            Velero + MinIO: Unknown desc = AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong;
            Asked 2021-Apr-19 at 21:54

            I'm getting this issue below. Anyone has an idea what could be wrong?



            Answered 2021-Apr-19 at 21:54

            The problem was missing configuration:



            velero backup failing for GKE Cluster
            Asked 2020-Oct-07 at 12:47

            I am trying with velero to create backup of GKE Cluster . I installed successfully on the GKE Cluster as shown below



            Answered 2020-Oct-07 at 12:47

            The issue is resolved now

            Was seeing below error in log



            Regarding Google Kubernetes Cluster backup
            Asked 2020-Sep-30 at 10:00

            I am looking to understand things regarding Google Kubernetes Cluster backup . I came across this document but this seems to be more on GCP Anthos On premises GKE Cluster .


            I saw few blogs talking of a GKE feature to create a clone of existing GKE Cluster but I cannot find any option in GCP Console to create new cluster by cloning an existing GKE Cluster.


            Can somebody please confirm if this cloning feature is still available in GKE or it is deprecated ?

            Apart from Cloning a GKE Cluster , we need to take backup of Cluster resources and PersistentVolumes. It seems Veloro is a useful tool for this and it is GKE aware.


            I am looking for further suggestions regarding GKE Cluster backup which takes care of both Cluster resources and persistent volumes. Any recommendation/best practises from Google on GKE backup



            Answered 2020-Sep-30 at 10:00

            I saw few blogs talking of a GKE feature to create a clone of existing GKE Cluster but I cannot find any option in GCP Console to create new cluster by cloning an existing GKE Cluster.

            Can somebody please confirm if this cloning feature is still available in GKE or it is deprecated ?

            You can in fact create a duplicate! By going into:

            • Cloud Console (Web UI) -> Kubernetes Engine -> CLUSTER-NAME -> Duplicate.


            This option will create a duplicate of your cluster but it will not copy the workload (Pods, Deployments, Services, Persistent Volumes, etc.)

            Transferring your workload will heavily depend on the resources that you are using. You will need to carefully consider all of the resources and choose the solution most appropriate to your use case.

            Solution mentioned in the question:

            Storage specific:

            It could be beneficiary to add that you could also take a different approach and use tools that are designed to provision resources multiple times. Once created "scripts" could be used multiple times (on multiple clusters when migrating etc.). Examples of such tools:

            Additional resources:



            kubectl: describe annotations for persistent volume claims
            Asked 2020-Sep-28 at 14:47

            New to kubectl. I have been tasked with generating a report (via bash script) that retrieves specific annotations from persistent volume claims (PVC), and I am having trouble.

            From what I am told, there is at least 1 annotation that describes if a PVC is backed up by Velero or not. This annotation is stored within the PVC.

            The psudeo-code goes like this:



            Answered 2020-Sep-28 at 14:47

            Chasing a red herring with the describe sub-command it seems. The annotation output is hidden metadata that is accessible via kubectl get using the -o flag. For example:

            kubectl get persistentvolumeclaims -o json

            and can be further parsed by piping the output to jq


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install velero

            You can download it from GitHub.


            The documentation provides a getting started guide and information about building from source, architecture, extending Velero, and more. Please use the version selector at the top of the site to ensure you are using the appropriate documentation for your version of Velero.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone vmware-tanzu/velero

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continuous Backup Libraries


            by restic


            by borgbackup


            by duplicati


            by phar-io


            by vmware-tanzu

            Try Top Libraries by vmware-tanzu


            by vmware-tanzuGo


            by vmware-tanzuGo


            by vmware-tanzuGo


            by vmware-tanzuGo


            by vmware-tanzuGo