Forrest logo
tool overview
On this page you find all important commands for the CLI tool velero. If the command you are looking for is missing please ask our AI.

velero

Velero is an open-source command line tool for backing up and restoring Kubernetes resources and persistent volumes. It was developed by Heptio, now acquired by VMware, and is part of the Cloud Native Computing Foundation (CNCF).

Velero provides a simple and efficient way to take backups of all or selected resources within a Kubernetes cluster. These backups can then be easily restored to the same or different cluster.

It supports both full backups and incremental backups, allowing you to save resources and time when performing backups. Velero also ensures that the state of the persistent volumes is saved and restored along with the resources, providing a complete backup and restore solution.

It offers protection against common scenarios such as accidental deletion, data corruption, and cluster failure. You can schedule regular backups using Velero to ensure that critical resources are always protected.

Velero allows you to customize the backup and restore process with pre and post hooks, enabling you to perform additional tasks before or after the backups/restores.

It integrates well with various storage providers like AWS S3, Azure Blob Storage, Google Cloud Storage, and others, allowing you to store the backups in your preferred cloud storage.

Velero is highly versatile and can be used to migrate resources across different clusters or cloud providers. It simplifies the process of moving your applications and data between environments.

It supports various authentication methods, including service account tokens, Kubernetes configuration files, and cloud provider credentials. This makes it easy to use and secure when working with different clusters or cloud environments.

Velero's active community and the large number of contributors ensure regular updates and improvements, making it a reliable and well-supported backup and restore solution for Kubernetes.

List of commands for velero:

  • velero:tldr:08773 velero: Delete a backup.
    $ velero backup delete ${backup_name}
    try on your machine
    explain this command
  • velero:tldr:1fc4f velero: Create a weekly backup, each living for 90 days (2160 hours).
    $ velero schedule create ${schedule_name} --schedules="${@every 7d}" --ttl ${2160h0m0s}
    try on your machine
    explain this command
  • velero:tldr:50bfe velero: List all backups.
    $ velero backup get
    try on your machine
    explain this command
  • velero:tldr:5d626 velero: Create a restore from the latest successful backup triggered by specific schedule.
    $ velero restore create --from-schedule ${schedule_name}
    try on your machine
    explain this command
  • velero:tldr:d23f7 velero: Create a backup containing all resources.
    $ velero backup create ${backup_name}
    try on your machine
    explain this command
tool overview