Forrest logo
back to the velero tool

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

The command velero restore create --from-schedule ${schedule_name} is a command used in the Velero backup and restore tool to create a restore using a backup schedule.

Here's a breakdown of the command:

  • velero: This is the command-line interface (CLI) tool for Velero.
  • restore: This is the command in Velero used to create a restore.
  • create: This is a flag for the restore command, specifying that a restore should be created.
  • --from-schedule: This is another flag for the restore command that specifies the source of the restore. In this case, it indicates that the restore should be created from a backup schedule.
  • ${schedule_name}: This is a placeholder representing the name of the backup schedule from which the restore should be created. It would be replaced with the actual name of the schedule in the command.

So, the command is instructing Velero to create a restore from a backup schedule with the specified name. This means that it will restore the data and resources from the most recent backup created by the specified schedule.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the velero tool