What if a single bad commit could destroy your database? Learn how to integrate automated snapshots into your GitOps pipeline, creating a restore point before every deployment.
#1about 6 minutes
Why redeploying code is not a substitute for data backup
GitOps pipelines excel at redeploying stateless applications but fail to protect persistent data in databases and volumes which are not managed by version control.
#2about 2 minutes
Demo overview of the GitOps backup and recovery workflow
The demonstration shows how to use a pre-sync job in Argo CD to automatically create a data snapshot before applying a potentially destructive code change.
#3about 5 minutes
Deploying a stateful application with an initial backup
A stateful application is deployed via Argo CD, and a pre-sync hook automatically triggers an initial backup job to establish a clean restore point.
#4about 4 minutes
Simulating data corruption from a bad code commit
A bad commit with a faulty SQL statement is pushed, but the CI/CD pipeline first creates a snapshot before applying the change, which then visibly corrupts the application's data.
#5about 4 minutes
Restoring data and applying the corrected code change
The application is restored to its pre-failure state from a snapshot, after which a corrected code commit is successfully deployed through the same automated backup-then-sync pipeline.
#6about 2 minutes
Key takeaways and resources for learning more
CI/CD pipelines are essential for stateless applications, but protecting stateful data requires integrating backup tools via APIs, with resources like Project Pace and CubeCampus available for hands-on learning.
#7about 3 minutes
Addressing backup efficiency for large data volumes
Using storage-level snapshots for backups is highly efficient as it is nearly instantaneous regardless of volume size, unlike a full data export which would be time-consuming.
Related jobs
Jobs that call for the skills explored in this talk.
Now is the time for industrialized software developmentNow is the time for industrialized software development
Recently, I received a letter from my car’s manufacturer alerting me to a recall. They had discovered a defective part and wanted to replace it.
It was easily fixed, and I might have forgotten a...
Daniel Cranney
Dev Digest 214: Claude Is Leaking, GitHub Is Listening & Axios Hacked!Inside last week’s Dev Digest 214 .
🕵️ Claude source code leaked, analysed and re-written in 2 days
🐙 GitHub auto-opts users into feeding their code to train their AI
🌐 Pretext shows how to show complex text rendering in the browser
🤖 How to securin...
Christina Schaireiter
Why Attend a Developer Event?Modern software engineering moves too fast for documentation alone. Attending a world-class event is about shifting from tactical execution to strategic leadership.
Skill Diversification: Break out of your specific tech stack to see how the industry...