Hello, I'm Otsuka, CTO at Liberogic.
When asked to write an article, I often struggle to find topics, so today I'll share an old story.
We actually built a backup system for microCMS internally over a year ago.
microCMS has backups for data preservation, but you can't retrieve past data from the admin interface. We created this as a safeguard against accidental data deletion—basically, we decided to build it ourselves.
How the system works: a quick overview
- Create a backup program using Cloudflare Workers
- Trigger manually or via CRON
- Ensure uniqueness with endpoint + id + revisedAt
- Data stored without duplication through snapshot management
- Media files backed up together
Articles stored in Cloudflare D1, media files in Cloudflare R2.
Back up article data and images together.
A recovery-ready system
Backup isn't just about taking copies—it's about being able to restore when you need it.
"I want to revert to yesterday's version" or "I accidentally deleted an article and need to recover it"
Having a system ready for these scenarios gives you real peace of mind in daily operations.
Summary
- Build a microCMS backup system in your Cloudflare environment
- Save articles and content together with snapshot management
- A system where recovery is included for complete peace of mind
You know, systems built because "we needed them ourselves" tend to be surprisingly useful in actual practice.
Well then.
The backbone of Liberogic's engineering division. When she hears "I wish we had something like this" or "that would be so convenient," she instantly implements it with added value using her natural ingenuity. Our company treasure with excellent communication skills and many fans among our clients—and a devoted cat lover.
Sho
Director/CTO / Chief Engineer / Representative Director of Nekoana LLC / Looks suspiciously young