Backup
CommunityEnterpriseThe 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. The Kubernetes Plugin provides a data backup feature
for Filesystem PVCs by creating a data archive in the form of a single file named
<pvc_name>.tar or <pvc_name>.<compression_type> for block data.
For the Etcd backup capability, it generates a snapshot with the format snapshot-<day>-<month>-<year>.db.
The objects are organized within the Bacula Catalog to facilitate browsing
and restore operations. In the Bacula Catalog, Kubernetes objects are
represented as follows:
/@kubernetes/namespaces/<namespace>.yamlNamespace definition/@kubernetes/namespaces/<namespace>/<objecttype>/<name>.yamlObject definitions in the namespace/@kubernetes/namespaces/<etcd-namespace(kube-system?)>/etcd/snapshot-<day>-<month>-<year>.dbEtcd snapshot in their namespace/@kubernetes/namespaces/<namespace>/persistentvolumeclaims/<pvc_name>.tarFilesystem PVC Data backup in the selected namespace/@kubernetes/namespaces/<namespace>/persistentvolumeclaims/<pvc_name>.rawBlock PVC Data backup in the selected namespace without inline compression/@kubernetes/namespaces/<namespace>/persistentvolumeclaims/<pvc_name>.gzBlock PVC Data backup in the selected namespace with gzip inline compression/@kubernetes/namespaces/<namespace>/virtualmachines/<vm_name>.yamlVirtual machine definition in the namespace/@kubernetes/persistentvolumes/<pv_name>.yamlPersistent Volume definition/@kubernetes/storageclass/<sc_name>.yamlStorage 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 Resource Listing chapter.
Note
When backing up virtual machines, you are only backing up those virtual machines and their dependencies.
Read more:
Go back to: Operations.