-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log file for failed backups does not exist #7386
Comments
Can you share the cause of backup failure? |
@Lyndon-Li The cause of backup is that the object storage which I use for storing backups was not available at that moment as you can see in the below image: |
@codecov @konstantin @dzaninovic |
Velero saves the logs into the backup storage, if the backup storage is not available, the backup will fail and the logs for the backup will not be saved either. |
Yes, that makes sense. Thanks for answering 🙏 |
I wanted to debug and find the cause of a backup failure in my kubernetes cluster. I used
velero describe backup <backup_name>
and came across this:So as said in the above image I ran
velero backup logs <backup_name>
to check the logs file for debugging purpose. But I got this as the result:No log file exists!! I also tested this for other failed backups and got the same result. It seems that velero doesn't save the logs file in case of backup failure. Can anyone tell me why this happens? Is this behavior normal?
I did understand the result of backup failure by using the following command:
But the problem with velero not saving logs file still exists.
Environment:
The text was updated successfully, but these errors were encountered: