Back to Main Site

PolyCMS Database Backup & Restore

Last updated on Nov 23, 2026 6:20 AM 6:20 AM 5,192.55 ms

The built-in Blog > Tools > Backup utility creates clean SQL snapshots of all 19 PolyCMS core tables (tblblog_*) without touching your CRM records. When PolyStore or MTOptimize is active in PolyCMS v1.4.0, full disaster recovery requires capturing those 19 CMS tables together with the 13 PolyStore InnoDB tables, tblpolycms_seo_meta, and linked Perfex CRM core tables inside one consistent MySQL snapshot.

Built-In CMS Backup Scope (19 Core Tables)

PolyCMS's native SQL backup tool under Blog > Tools > Backup exports and restores only the 19 core CMS tables (prefixed with your Perfex table prefix + blog_, typically tblblog_*). This makes it ideal for quick pre-edit checkpoints or theme/plugin testing without risking CRM invoices or client records.

Table GroupCore PolyCMS Tables (tblblog_*)Count
Contentblog_posts, blog_pages, blog_page_meta3
Taxonomyblog_categories, blog_tags, blog_post_categories, blog_post_tags, blog_post_meta5
Engagementblog_comments1
Mediablog_media1
Navigationblog_menus, blog_menu_items, blog_widgets3
Extensionsblog_plugins, blog_plugin_options, blog_themes, blog_theme_options4
Configurationblog_settings, blog_permalink_settings2

Creating a Core CMS Backup

Navigate to Blog > Tools > Backup in Perfex CRM Admin:

  1. Click Create Backup.
  2. PolyCMS generates an SQL dump containing schema and rows for all 19 core tblblog_* tables.
  3. The snapshot appears in the backup history table with creation timestamp and file size.
  4. Click Download to copy the .sql file to off-site cloud or local storage.

Restoring Core CMS Tables

  1. Open Blog > Tools > Backup.
  2. Locate the desired snapshot in the backup list and click Restore.
  3. Confirm the prompt to replace the 19 core CMS tables with the snapshot contents.

Important Warning: Restoring an SQL backup overwrites all current data inside those 19 CMS tables. Always generate a fresh backup immediately before running a restore.

Full Disaster Recovery When PolyStore Is Active (v1.4.0)

Because PolyStore v1.0.0 uses a Zero-Duplication Overlay Architecture tightly linked to Perfex CRM items, clients, invoices, and estimates, backing up only the 19 tblblog_* tables is not sufficient for e-commerce disaster recovery. Restoring PolyStore tables independently of Perfex financial records can cause broken item, client, or invoice ID references.

For production sites running PolyStore, always capture the following four table groups together inside one atomic MySQL snapshot:

Snapshot GroupRequired TablesPurpose
1. PolyCMS Core (19 Tables)All 19 tblblog_* tables listed abovePosts, storefront pages, menus, widgets, plugin/theme state, settings
2. PolyStore Overlay (13 InnoDB Tables)tblpolystore_product_meta, tblpolystore_category_meta, tblpolystore_product_categories, tblpolystore_attributes, tblpolystore_attribute_terms, tblpolystore_product_attributes, tblpolystore_product_variants, tblpolystore_product_filter_index, tblpolystore_carts, tblpolystore_orders, tblpolystore_order_items, tblpolystore_coupons, tblpolystore_coupon_usagesProducts overlay, multi-category mappings, attributes, variations, faceted filter index, carts, orders, normalized line items, and coupon usages
3. MTOptimize v1.4.0 SEO (Recommended)tblpolycms_seo_metaStores (object_type, object_id) SEO metadata (Focus Keywords, Meta Title/Description, Open Graph, Twitter Card, Custom Canonical, and No Index/No Follow) for both Core Blog/Pages/Categories/Tags (post, page, category, tag) and PolyStore Products & Product Categories (polystore_product, polystore_category). Always include this table in every full storefront backup so product and category SEO settings stay synchronized.
4. Linked Perfex CRM Core Tablestblitems, tblitems_groups, tblinvoices, tblestimates, tblclients (recommended: full Perfex database snapshot)Preserves referential consistency across storefront products, categories, customer accounts, issued invoices, and B2B quotes

Recommended Atomic MySQL Snapshot Command

Use InnoDB's consistent read transaction flag (--single-transaction) with mysqldump (or your hosting panel's scheduled full-database backup) so all 19 PolyCMS tables, 13 PolyStore tables, tblpolycms_seo_meta, and Perfex Core tables reflect the exact same point in time:

mysqldump --single-transaction --quick --routines --triggers \
  -u DB_USER -p DB_NAME > perfex_polycms_polystore_$(date +%F_%H%M).sql

In addition to the MySQL snapshot, back up the uploads/ directory (including uploads/polycms/ and any PolyStore digital product download files) on the same schedule so media URLs and paid digital downloads remain intact after a restore.

Operational Best Practices

  • Run a fresh backup before major PolyCMS/PolyStore upgrades, bulk product imports, or theme changes.
  • Keep encrypted off-site copies (object storage, S3, or remote backup server) following a 3-2-1 backup policy.
  • Verify restore integrity periodically on a staging copy of Perfex CRM.
  • Remember that Blog > Tools > Backup targets the 19 core tblblog_* tables only; always schedule full-database MySQL snapshots that include the 13 PolyStore tables, tblpolycms_seo_meta (covering both core CMS and PolyStore product/category SEO), and linked Perfex CRM core tables when running PolyStore in production.

Related Documentation

Launch Your CMS for Perfex CRM — Lifetime Access for Just $19
Create blogs, pages, themes, plugins, and manage everything from one powerful unified admin panel.

Early Adopter Advantage

Current pricing reflects the module’s present feature set. As additional plugins, themes, multilingual capabilities, builders (MTBuilder), and ecosystem integrations are released, pricing may be adjusted. Early customers secure today’s price while benefiting from future updates.