Florian Trieloff

Integrating backups into your GitOps Pipeline

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.

Integrating backups into your GitOps Pipeline
#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.

Team Lead DevOps (m/w/d)

Rhein-Main-Verkehrsverbund Servicegesellschaft mbH

Rhein-Main-Verkehrsverbund Servicegesellschaft mbH
Frankfurt am Main, Germany

Senior
Kubernetes
DevOps
+1

Featured Partners

Related Articles

View all articles
AG
Andre Braun, GitLab
Now is the time for industrialized software development
Now 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...
Now is the time for industrialized software development
DC
Daniel Cranney
Dev Digest 196: AI Killed DevOps, LLM Political Bias & AI Security
Inside last week’s Dev Digest 196 . ⚖️ Political bias in LLMs 🫣 AI written code causes 1 in 5 security breaches 🖼️ Is there a limit to alternative text on images? 📝 CodeWiki - understand code better 🟨 Long tasks in JavaScript 👻 Scare yourself into n...
Dev Digest 196: AI Killed DevOps, LLM Political Bias & AI Security
CH
Chris Heilmann
Dev Digest 134 - Where pixels sing?
News and ArticlesWeAreDevelopers LIVE Data and Security Day is on Wednesday, 25/09/2024. Learn about OPC UA Updates, Best Practices for Using GitHub Secrets, Passwordless Web 1.5, Emerging AI Security Risks, Data Privacy in LLMs and get a chance to t...
Dev Digest 134 - Where pixels sing?
DC
Daniel Cranney
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev
Inside last week’s Dev Digest 194 . 🧠 Learn how to become an AI-native software engineer 🤷‍♂️ How can you stand out when anyone can build anything? 👂 Whisper Leak allows listening to encrypted chats 🐝 What’s new the OWASP2025 Top Ten List 🙅‍♀️ Curse...
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev

From learning to earning

Jobs that call for the skills explored in this talk.