Backup

The plugin can back up a number of Kubernetes Objects including: Deployments, Pods, Services or Persistent Volume Claims, check the following chapter for a complete list.

The backup will create a single (.yaml) file for any Kubernetes Object which is saved. For PVC Data backup functionality the Kubernetes Plugin generates a data archive as a single <pvcname>.tar archive file. The objects are organized inside the Bacula catalog to facilitate browsing and restore operations. In the Bacula catalog, Kubernetes objects are represented as follows:

  • /@kubernetes/namespaces/<namespace>.yaml - Namespace definition

  • /@kubernetes/namespaces/<namespace>/<objecttype>/<name>.yaml - Object definitions in the namespace

  • /@kubernetes/namespaces/<namespace>/persistentvolumeclaim/<pvcname>.tar - PVC Data backup in the selected namespace

  • /@kubernetes/persistentvolumes/<pvname>.yaml - Persistent Volume definition

  • /@kubernetes/storageclass/<scname>.yaml - Storage Class definition

All supported Kubernetes Objects will be saved if no filter options are set. You may limit which objects are saved using filtering options described in the Estimate and Backup Plugin Parameters chapter. By default, if no filter options are set, all supported Kubernetes Objects will be saved. To see the Kubernetes Objects that may be filtered, a listing mode is available. This mode is described in the Listing chapter.

Read more:

See also

Go to:

Go back to the Kubernetes Operations page.

Go back to the main Kubernetes Plugin page.