How to Manage Metadata Settings in cPanel & WHM

This guide explains how metadata is generated, stored, and managed within cPanel & WHM’s backup system. It covers metadata databases, table structures, backup directory formats, and how to manually enable or disable metadata creation through WHM or configuration settings.c

cPanel metadata backupWHM metadata settingsbackup metadata database

~4 min read · Updated Feb 15, 2026

How to Manage Metadata Settings


Valid for versions 76 through the latest version


Version: 76
Last modified: January 28, 2026


Overview


WHM administrators can manage metadata creation using WHM’s Backup Configuration interface:

WHM » Home » Backup » Backup Configuration


By default, cPanel & WHM generates metadata every time a backup is created. You may want to disable metadata creation for testing, before an upgrade, or when troubleshooting performance issues.


Notes:

  • The backups_create_metadata script generates metadata for all directories under /home/username except /mail and /.cpanel.
  • You must have at least one backup and metadata entry stored locally for the following interfaces to appear:
    • cPanel » Home » Files » File and Directory Restoration
    • WHM » Home » Backups » File and Directory Restoration

Metadata Databases


Each time a backup is created, cPanel & WHM generates metadata and stores it in a username.db database, where username is the cPanel account name.


The system saves this database inside the .meta directory under the configured backup directory. These metadata databases store indexed information in smaller, searchable files, allowing faster retrieval compared to scanning full backup archives.


Metadata Database Tables


The metadata database contains the following tables:

  • backup_paths — Lists backup file locations.
  • backups — Lists backup files stored on disk.
  • file_changes — Tracks changes to files across backups.
  • metadata — Stores schema type and version.
  • seen_files — Tracks filenames included in backups.

backup_paths Table

FieldTypeDescriptionExample
backup_pathstringFilepath relative to backup directory/backup/2018-04-12/accounts
backup_idintegerReferences backups.backup_id1

backups Table

FieldTypeDescriptionExample
backup_idintegerUnique ID1
timestamptimestampUTC creation time1523642274
does_existBooleanWhether the backup exists1

file_changes Table

FieldTypeDescriptionExample
seen_files_idintegerReferences seen_files.file_id1
backup_idintegerReferences backups.backup_id1
sizeintegerFile size in bytes660
mtimeintegerLast modified time (UTC)1523642274
operationintegerChange type (0=create, 1=modify, 2=remove)0
typeintegerFile type (0=file, 1=directory, 2=symlink)0

metadata Table

FieldTypeDescriptionExample
keystringMetadata schema typeschema_version
valuestringSchema version3.1

seen_files Table

FieldTypeDescriptionExample
file_idintegerUnique file ID1
pathstringPath relative to /home/username/public_html/

The Master Meta File


The .master.meta file stores static information about user backups that does not change. Every account directory inside daily, weekly, and monthly backup folders contains a .master.meta file.


Backup Directory Structure


Backups are stored in /backup using one of three formats:

FormatExtensionExample
Compressed.tar.gzusername.tar.gz
Uncompressed.tarusername.tar
IncrementalNoneusername

The system distinguishes backups by their full filepath. Metadata for each backup is stored in the backup_paths table.


Disable Metadata Creation


You can disable metadata creation using WHM’s Backup Configuration interface or by modifying configuration settings directly.


Important: When metadata is disabled:

  • cPanel’s File and Directory Restoration interface becomes unavailable.
  • WHM’s File and Directory Restoration interface becomes unavailable.
  • A notification explains why the feature is disabled.

You can also disable metadata using the WHM API 1 backup_config_set function.


Metadata-Related Settings

Config File SettingInterface SettingDescriptionValues
DISABLE_METADATA None (API only) Enables or disables metadata creation yes / no
BACKUPACCTS Backup Accounts Include cPanel accounts in backups yes / no
BACKUPENABLE Backup Status Enable or disable backups yes / no
BACKUPMOUNT Mount Backup Drive as Needed Mount backup directory before backup runs 1 / 0
KEEPLOCAL Retain backups in default directory Keep local backups 1 / 0

Conclusion


Metadata plays a crucial role in enabling fast file restoration and efficient backup indexing in cPanel & WHM. Understanding how metadata is stored and how to enable or disable it helps administrators optimize performance, troubleshoot issues, and manage backup behavior more effectively.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue