5.26.2.3. Debugging Velero resources with the OpenShift CLI tool


Debug a failed backup or restore by checking Velero custom resources (CRs) and the Velero pod log with the OpenShift CLI tool.

Procedure

  • Retrieve a summary of warnings and errors associated with a Backup or Restore CR by using the following oc describe command:

    $ oc describe <velero_cr> <cr_name>
  • Retrieve the Velero pod logs by using the following oc logs command:

    $ oc logs pod/<velero>
  • Specify the Velero log level in the DataProtectionApplication resource as shown in the following example.

    참고

    This option is available starting from OADP 1.0.3.

    apiVersion: oadp.openshift.io/v1alpha1
    kind: DataProtectionApplication
    metadata:
      name: velero-sample
    spec:
      configuration:
        velero:
          logLevel: warning

    The following logLevel values are available:

    • trace
    • debug
    • info
    • warning
    • error
    • fatal
    • panic

      Use the info logLevel value for most logs.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동