root@<tkgm-jumpbox>:~# velero backup logs <backup-name> |grep pvc-########-####-####-####-############time="YYYY-MM-DDThh-mm-ss:45Z" level=info msg="Backing up item" backup=velero/<backup-name> logSource="pkg/backup/item_backupper.go:179" name=pvc-########-####-####-####-############ namespace= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:45Z" level=info msg="Executing takePVSnapshot" backup=velero/<backup-name> logSource="pkg/backup/item_backupper.go:509" name=pvc-########-####-####-####-############ namespace= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:45Z" level=info msg="Backup has volume snapshots disabled; skipping volume snapshot action." backup=velero/<backup-name> logSource="pkg/backup/item_backupper.go:512" name=pvc-########-####-####-####-############ namespace= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:58Z" level=info msg="Processing item" backup=velero/<backup-name> logSource="pkg/backup/backup.go:365" name=pvc-########-####-####-####-############ namespace= progress= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:58Z" level=info msg="Skipping item because it's already been backed up." backup=velero/<backup-name> logSource="pkg/backup/item_backupper.go:174" name=pvc-########-####-####-####-############ namespace= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:58Z" level=info msg="Backed up 103 items out of an estimated total of 24668 (estimate will change throughout the backup)" backup=velero/<backup-name> logSource="pkg/backup/backup.go:405" name=pvc-########-####-####-####-############ namespace= progress= resource=persistentvolumestime="YYYY-MM-DDThh-mm-ss:05Z" level=info msg="Processing item" backup=velero/<backup-name> logSource="pkg/backup/backup.go:365" name=pvc-########-####-####-####-############ namespace=kube-system progress= resource=cnsvolumeoperationrequests.cns.vmware.comtime="YYYY-MM-DDThh-mm-ss:05Z" level=info msg="Excluding item because namespace is excluded" backup=velero/<backup-name> logSource="pkg/backup/item_backupper.go:140" name=pvc-########-####-####-####-############ namespace=kube-system resource=cnsvolumeoperationrequests.cns.vmware.comtime="YYYY-MM-DDThh-mm-ss:05Z" level=info msg="Backed up 1558 items out of an estimated total of 23597 (estimate will change throughout the backup)" backup=velero/<backup-name> logSource="pkg/backup/backup.go:405" name=pvc-########-####-####-####-############ namespace=kube-system progress= resource=cnsvolumeoperationrequests.cns.vmware.com
time="YYYY-MM-DDThh-mm-ss:15Z" level=info msg="Summary for skipped PVs: [
{\"name\":\"pvc-########-####-####-####-############\",\"reasons\":[{\"approach\":\"podvolume\",\"reason\":\"volume <volume-name> is declared in pod <pod-name> but not mounted by any container, skipping\"},{\"approach\":\"volumeSnapshot\",\"reason\":\"backup has volume snapshots disabled\"}]},
{\"name\":\"pvc-########-####-####-####-############\",\"reasons\":[{\"approach\":\"podvolume\",\"reason\":\"volume <volume-name> is declared in pod <pod-name> but not mounted by any container, skipping\"},{\"approach\":\"volumeSnapshot\",\"reason\":\"backup has volume snapshots disabled\"}]}
]" backup=velero/<backup-name> logSource="pkg/backup/backup.go:445"
kubectl get volumesnapshotclass" returns an error stating that the server does not have a resource type “volumesnapshotclass”.kubectl get crds | grep volumesnapshot" gives only the following output :
volumesnapshotlocations.velero.io volumesnapshotclasses.snapshot.storage.k8s.iovolumesnapshotcontents.snapshot.storage.k8s.iovolumesnapshots.snapshot.storage.k8s.iokubectl get pods -n kube-system | grep snapshot-controller". If the output is empty, then the snapshot controller is not installed.VolumeSnapshotClass. Refer to Volume Snapshot and Restore for installation steps.
kubectl get volumesnapshotclass"