Skip to main content
Solved

Backup Export K10 6.05 Failed


  • Comes here often
  • 2 comments

Hi Team,

We faced issue when enable export backup to S3 compatible, the snapshot is completed and success but export phase failed.


phases:
  - attempt: 3
    endTime: 2023-11-27T04:03:08Z
    errors:
      - cause: '{"cause":{"cause":{"cause":{"cause":{"message":"Failed to exec command
          in pod: command terminated with exit code 1"},"message":"Access
          Denied"},"file":"kasten.io/k10/kio/kopia/repository.go:650","function":"kasten.io/k10/kio/kopia.ConnectToKopiaRepository","linenumber":650,"message":"Failed
          to connect to the backup
          repository"},"fields":[{"name":"appNamespace","value":"frontpage-ops"}],"file":"kasten.io/k10/kio/exec/phases/phase/export.go:266","function":"kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData","linenumber":266,"message":"Failed
          to create Kopia repository for data
          export"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
          to copy artifacts"}'
        message: Job failed to be executed
      - cause: '{"cause":{"cause":{"cause":{"cause":{"message":"Failed to exec command
          in pod: command terminated with exit code 1"},"message":"Access
          Denied"},"file":"kasten.io/k10/kio/kopia/repository.go:650","function":"kasten.io/k10/kio/kopia.ConnectToKopiaRepository","linenumber":650,"message":"Failed
          to connect to the backup
          repository"},"fields":[{"name":"appNamespace","value":"frontpage-ops"}],"file":"kasten.io/k10/kio/exec/phases/phase/export.go:266","function":"kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData","linenumber":266,"message":"Failed
          to create Kopia repository for data
          export"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
          to copy artifacts"}'
        message: Job failed to be executed
      - cause: '{"cause":{"cause":{"cause":{"cause":{"message":"Failed to exec command
          in pod: command terminated with exit code 1"},"message":"Access
          Denied"},"file":"kasten.io/k10/kio/kopia/repository.go:650","function":"kasten.io/k10/kio/kopia.ConnectToKopiaRepository","linenumber":650,"message":"Failed
          to connect to the backup
          repository"},"fields":[{"name":"appNamespace","value":"frontpage-ops"}],"file":"kasten.io/k10/kio/exec/phases/phase/export.go:266","function":"kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData","linenumber":266,"message":"Failed
          to create Kopia repository for data
          export"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
          to copy artifacts"}'
        message: Job failed to be executed
    name: Exporting RestorePoint
    startTime: 2023-11-27T04:02:03Z
    state: failed
    updatedTime: 2023-11-27T04:03:08Z

 

We use Dell ECS S3 and the permission is set to full access.

 

Thank you

Best answer by Hagag

@hafesi 

The problem is that k10 couldn't connect to your kopia backup stored in the S3 bucket. It showed a "Failed to connect to the backup repository" message and an "Access Denied" error.

To understand this better, checking the logs of the executor pods might help. Also, can you share the permissions you set for your S3 bucket?

Ahmed Hagag

View original
Did this topic help you find an answer to your question?

2 comments

Hagag
Forum|alt.badge.img+2
  • Experienced User
  • 154 comments
  • Answer
  • November 27, 2023

@hafesi 

The problem is that k10 couldn't connect to your kopia backup stored in the S3 bucket. It showed a "Failed to connect to the backup repository" message and an "Access Denied" error.

To understand this better, checking the logs of the executor pods might help. Also, can you share the permissions you set for your S3 bucket?

Ahmed Hagag


  • Author
  • Comes here often
  • 2 comments
  • November 30, 2023

Hi Hagag,

 

Thank you so much for the clue, we have found that there is permission issue in S3 bucket.

 

Thanks


Comment