1.7.7. Velero CLI를 사용하여 Backup 및 Restore CR을 디버깅합니다.
Velero 명령줄 인터페이스(CLI)를 사용하여 Backup
및 Restore
CR(사용자 정의 리소스) 및 부분 마이그레이션 실패를 디버깅할 수 있습니다. Velero CLI는 velero
포드에서 실행됩니다.
1.7.7.1. Velero 명령 구문
Velero CLI 명령은 다음 구문을 사용합니다.
$ oc exec $(oc get pods -n openshift-migration -o name | grep velero) -- ./velero <resource> <command> <resource_id>
$(oc get pods -n openshift-migration -o name | grep velero)
를 대신해서 velero-<pod> -n openshift-migration
을 지정할 수 있습니다.