Skip to content

Troubleshooting snippets

Tiger Kaovilai edited this page Sep 28, 2022 · 1 revision

manual gather when must-gather do not work.

mkdir manual-gather
oc get volumesnapshotbackups.datamover.oadp.openshift.io --all-namespaces -oyaml > manual-gather/volumesnapshotbackups.datamover.oadp.openshift.io.yaml
oc get volumesnapshotrestores.datamover.oadp.openshift.io --all-namespaces -oyaml > manual-gather/volumesnapshotrestores.datamover.oadp.openshift.io.yaml
oc get cloudstorages.oadp.openshift.io --all-namespaces -oyaml > manual-gather/cloudstorages.oadp.openshift.io.yaml
oc get dataprotectionapplications.oadp.openshift.io --all-namespaces -oyaml > manual-gather/dataprotectionapplications.oadp.openshift.io.yaml
oc get backuprepositories.velero.io --all-namespaces -oyaml > manual-gather/backuprepositories.velero.io.yaml
oc get backups.velero.io --all-namespaces -oyaml > manual-gather/backups.velero.io.yaml
oc get backupstoragelocations.velero.io --all-namespaces -oyaml > manual-gather/backupstoragelocations.velero.io.yaml
oc get deletebackuprequests.velero.io --all-namespaces -oyaml > manual-gather/deletebackuprequests.velero.io.yaml
oc get downloadrequests.velero.io --all-namespaces -oyaml > manual-gather/downloadrequests.velero.io.yaml
oc get podvolumebackups.velero.io --all-namespaces -oyaml > manual-gather/podvolumebackups.velero.io.yaml
oc get podvolumerestores.velero.io --all-namespaces -oyaml > manual-gather/podvolumerestores.velero.io.yaml
oc get resticrepositories.velero.io --all-namespaces -oyaml > manual-gather/resticrepositories.velero.io.yaml
oc get restores.velero.io --all-namespaces -oyaml > manual-gather/restores.velero.io.yaml
oc get schedules.velero.io --all-namespaces -oyaml > manual-gather/schedules.velero.io.yaml
oc get serverstatusrequests.velero.io --all-namespaces -oyaml > manual-gather/serverstatusrequests.velero.io.yaml
oc get volumesnapshotlocations.velero.io --all-namespaces -oyaml > manual-gather/volumesnapshotlocations.velero.io.yaml
zip -r manual-gather.zip manual-gather