"Yes and also apparently no. We use #Velero to capture backups of our cluster every 6 hours. From what I had seen our backups had been running successfully. I discovered once the incident started that backups had captured everything but the Persistent Volume Claim data. While manual backup and restore tests were run once a month to ensure our backups were functioning, they were run manually. After digging into why our restores were not coming up with data, I found that our recurring backups were missing the flag to run volume backups with Restic which snapshots PVC block volume data."
Total data loss after botched GitOps and failed backups
11–20 of 176 posts
Re: Total data loss after botched GitOps and failed backups
#12Re: Total data loss after botched GitOps and failed backups
#13Automation is wonderful for creating things, configuring things and moving things. Automation should never "clean up". Do your cleanup manually, or this is what you get.
Re: Total data loss after botched GitOps and failed backups
#14But this also made me realize how upset I would be if my blog over at micro.blog was accidentally deleted. It’s more of a journal of my digital nomadding with my wife across the US than anything else.
I immediately went over and started a JSON export in bar (?) format.
Re: Total data loss after botched GitOps and failed backups
#15That sucks! Now I'm thinking my github action that is doing a `git pull repo && cd repo/ && rm -rf dist/ && populate.sh && git push` in my bash script will totally go rogue one day and kill everything. Any idea, peeps?
Re: Total data loss after botched GitOps and failed backups
#16It's odd to me when people say backups are a feature. They are not. Restoration, however, is. And has to be tested...
It sounds like they did test restorations, but didn't correctly verify the results. It's not very clear though. >While manual backup and restore tests were run once a month to ensure our backups were functioning, they were run manually.
Re: Total data loss after botched GitOps and failed backups
#17Wow... tooling that deletes a bunch of stuff because a manifest file is missing. Just... wow. I feel for the admin here. This seems equivalent to an accidental `sudo rm -rf /`.
Re: Total data loss after botched GitOps and failed backups
#18Automation is wonderful for creating things, configuring things and moving things. Automation should never "clean up". Do your cleanup manually, or this is what you get.
Re: Total data loss after botched GitOps and failed backups
#19It's odd to me when people say backups are a feature. They are not. Restoration, however, is. And has to be tested...
It sounds like they did test restorations, but didn't correctly verify the results. It's not very clear though. >While manual backup and restore tests were run once a month to ensure our backups were functioning, they were run manually.
Re: Total data loss after botched GitOps and failed backups
#20Can someone explain this? How did they test restores, if the actual restore failed to come up with data?