Switching the display language

Topics

A story about creating a backup function for microCMS

  • column

Hello, I'm Otsuka, CTO at Liberogic.

Even though I was told to write an article, I don't have much to write, so today I'll talk about something from a while ago.

actually over a year agoAt that time, we were creating an in-house backup system for microCMS.

microCMSBackup for data preservationHowever, it is not possible to retrieve past data from the management screen. I started this as a way to prevent data from being deleted due to operational errors.

A brief introduction to the system

  • Create a program that backs up with Cloudflare Workers
  • Manual or CRON start
  • endpoint + id + revisedAtto ensure uniqueness
  • Data is not duplicated and snapshot management is performed.
  • Save media files together

Articles are stored on Cloudflare D1, and media files are stored on Cloudflare R2.

You can back up both article data and images at the same time.

A system that takes recovery into consideration

Backup is not just about "taking"Being able to return it in an emergencyis important.
"I want to go back to yesterday's state" "I want to restore the article I accidentally deleted"
Being able to handle such cases will give you a much greater sense of security when operating your system.

summary

  • A mechanism for backing up microCMSBuilt in the Cloudflare environment
  • Save articles and content together and manage snapshots
  • Peace of mind, including recoveryA system that can

These kinds of systems that are created because we ourselves want them are surprisingly the most useful in practice.

Well then.

Written by

He is the backbone of the Liberogic Technology Department. Whenever he hears someone say, "I wish I had something like this, it would be so convenient," he uses his ingenuity to add value and implement it in no time. He is a treasure of our company with his excellent communication skills and many fan-favorite customers, and he also loves cats.

Kakeru-san

CTO / Chief Engineer / CEO of Nekoana Inc. / Looks unnecessarily young

We pride ourselves on our reliable team structure and speedy response capabilities.

At Liberogic, our experienced staff proactively drive projects forward, which is why we are highly regarded by our clients.
We ensure that project managers and directors are properly assigned to ensure the smooth progress of the entire project. We prevent unnecessary cost increases from full commitments and allocate resources to the right people in the right places, and are well-known for the speed with which we can grasp the work content, create and submit estimates.

Please note that we do not actively provide on-site services such as SES.

We support almost all major project management and chat tools, including Slack, Teams, Redmine, Backlog, Asana, Jira, Notion, Google Workspace, Zoom, and Webex.

Are you losing out by having an overly elaborate infrastructure and security measures?Are you worried about WordPress?

Case Study