Solved

Backup Export K10 6.05 Failed

  • 27 November 2023
  • 2 comments
  • 103 views

Userlevel 2

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

icon

Best answer by Hagag 27 November 2023, 11:54

View original

2 comments

Userlevel 5
Badge +2

@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

Userlevel 2

Hi Hagag,

 

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

 

Thanks

Comment