Trouble Restoring OpenShift Backups from S3

0
6
Asked By TechyPanda99 On

Hey everyone! I'm facing a frustrating issue with my backups while using an operator on OpenShift. My backups are stored in an S3 bucket, and I've recently encountered a problem where the database in my dev environment went down and never came back up. When I tried to restore from a backup, I received an error message that said, **"Backup not found with this ID."** No matter what I've tried, I can't get the restore to work. The strange part is that when I create a new cluster and point it to the same S3 bucket, the backups are accessible and work fine. I'm using the exact same YAML configuration for both clusters. To make matters worse, none of my older backups seem to be restoring. Any insights or suggestions would really help!

1 Answer

Answered By DataDude42 On

It sounds like you might be dealing with a configuration issue or possibly some permission problems. Can you tell us what kind of S3 you're using? Is it AWS or something compatible like MinIO? Also, ensure that the service account you use for backups is the same as the one for restores and that it has the necessary permissions in both cases. Are you using the legacy backup method or the Barman Cloud plugin? Just a thought—if you can restore to a fresh cluster, why not migrate your data over instead of troubleshooting? It might save you time!

DevNinja83 -

I'm using AWS. I checked, and the service account is the same for both backups and restores. Here's a bit of my setup: the YAML config where I specify the backup ID and path details. Even though I can restore from the new cluster, I really need to recover my old dev database.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.