If velero support backup CRD and CR together then restore with the right sequence? #6930
Replies: 2 comments
-
Velero restores CRDs first, then refreshes to avoid exactly this error. Can you verify that:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @sseago , I made a mistake here, I thought the CRD has been included in the backup while it was not. It's still strange why the CRD is there at the restored OCP cluster. I'm sure about I deleted them before restore the system, and the CRD is not at the The good news is after I include the CRD at the backup, everything is fine. Very appreciate for your quick turn around. |
Beta Was this translation helpful? Give feedback.
-
I tried to backup the CRD and related CR at the same velero backup, when I restore the backup, the velero report issue for the CR like
time="2023-10-09T06:34:46Z" level=info msg="Skipping restore of resource because it cannot be resolved via discovery" logSource="/remote-source/velero/app/pkg/restore/restore.go:1833" resource=certificates.cert-manager.io restore=openshift-adp/restore-cert-manager
According for the issue #2948, it should be supported, while I still can find this issue at version:
Beta Was this translation helpful? Give feedback.
All reactions