Using Velero to back up workloads
Velero supports running a "one-time" backup with a single command or on a recurring schedule. Whether you chose to run a single backup or a recurring backup, you can back up all objects or only certain objects using include
and exclude
flags.
Running a one-time cluster backup
To create an initial backup, you can run a single Velero command that will back up all of the namespaces in the cluster.
Executing a backup without any flags to include or exclude any cluster objects will back up every namespace and all of the objects in the namespace.
To create a one-time backup, execute the velero
command with the backup create <backup name>
option. In our example, we have named the backup initial-backup
:
velero backup create initial-backup
The only confirmation you will receive from this is that the backup request was submitted:
Backup request "initial-backup" submitted successfully.
Run `velero backup...