Restoring from a backup
In this section, we will explain the process of restoring from a backup using Velero. Having a backup is akin to having car insurance or homeowner’s insurance—it’s essential to have, yet you hope you never need to use it. When the unexpected happens, you’ll be grateful it’s there. In the realm of data backups, finding yourself needing to restore data without a backup is a scenario we often refer to as a “resume-building event.” To run a restore from a backup, you use the create restore
command with the --from-backup <backup name>
tag.
Earlier in the chapter, we created a single, one-time backup, called initial-backup
, which includes every namespace and object in the cluster. If we decided that we needed to restore that backup, we would execute a restore using the Velero CLI:
velero restore create --from-backup initial-backup
The output from the restore
command may seem odd:
Restore request...