Magento GuideSecurity → Backup My CMS Tables

How to backup my CMS tables on Magento 2

Your CMS content—like pages and static blocks—helps shape your Magento storefront. Losing it during a failed update or server crash can be a nightmare. Fortunately, Magento 2 includes simple tools for backing up your CMS tables safely. Whether you’re using the Admin Panel, the command line, or automated jobs, backing up takes just a few minutes and can save you hours of recovery work.

Let’s walk through exactly how to do it, one step at a time.

Host Magento at full throttle.

Get secure, reliable Magento hosting so you can scale faster.

Understanding where CMS data lives in Magento 2

Magento’s CMS features let you build pages, banners, and reusable content blocks. All this information is stored in your Magento database, not in code files.

The CMS-related tables you’ll be backing up include:

Any full database backup will automatically include these tables. You don’t need to separate them out unless you’re doing something advanced like migrating just the CMS content.

1. Backing up CMS tables using the Admin Panel

The easiest way for beginners to back up CMS tables is through Magento’s built-in Admin Panel tool.

Note: If you don’t see the backup options in your Admin Panel, go to Stores > Configuration > Advanced > System > Backup Settings and make sure the backup tool is enabled.

2. Backing up using the Magento CLI

The Magento command line (also called the CLI) is a powerful tool that lets you perform advanced tasks—including backups—with more precision and control.

3. Automating backups with cron jobs

If you want your CMS data to be backed up regularly (e.g. daily), you can set up a cron job. This is a simple scheduled task that runs your backup commands automatically.

This method keeps your CMS backups up to date without manual effort—and it’s one of the best ways to protect your store long-term.

Troubleshooting common backup issues

Sometimes backups don’t go as planned. Here are a few common problems and how to solve them.

Backup options not showing in Admin Panel:

Go to Stores > Configuration > Advanced > System > Backup Settings and set Enable Backup to “Yes.”

Permission errors during backup:

Check that the var/, pub/, and generated/ directories are writable. Use:

chmod -R 775 var/ pub/ generated/

Store stuck in maintenance mode: 

If your store stays offline after a backup, delete the maintenance flag:

rm var/.maintenance.flag

Timeouts during backup: 

Increase the max_execution_time in your php.ini or run the backup using the CLI instead of the Admin Panel.

Bonus: Selectively backing up CMS tables via MySQL

If you’re migrating CMS data or want a very lightweight backup, you can export only the CMS-related tables using a MySQL dump.

This method is best for developers or advanced users who need CMS data separate from products, orders, or customers.

Next steps for backing up CMS tables on Magento 2

Backing up CMS tables in Magento 2 protects the layout and content of your store. Whether you use the Admin Panel or CLI, backups are your safety net against data loss.

If you haven’t already, set up automated cron backups to run daily or weekly. It takes five minutes to configure and could save you hours of work later.

Ready to upgrade your Magento experience? Professional hosting improves speeds, security, and reliability for a website and a brand that people find engaging and trustworthy.

Liquid Web offers the raw infrastructure power you need with mission-critical features that keep your store running smoothly. Most importantly, our in-house Magento experts are standing by to help with both hosting and Magento application roadblocks.

Click through below to explore all of our Magento hosting options, or chat with an expert right now to get answers and advice.

Ready to get started?

Get the fastest, most secure Magento hosting on the market

Additional resources

What is Magento Ecommerce? →

A complete beginner’s guide to the Magento Ecommerce platform

Magneto vs. WordPress →

Compare pricing, hosting, security, SEO, and a lot more

Best Magento ERP extensions →

Our top 10 compared so you can decide which is best for your business