---
title: Capabilities Backups in the Database, and Emergency Restores
description: "[PublishPress Capabilities](https://publishpress.com/links/capabilities) will automatically create backups every time you make a change your site's user roles. This article is a guide to where those backups are stored. It can also serve as a way to regain access if the capabilities…"
url: "https://publishpress.com/knowledge-base/backups-database/"
updated: "2023-11-16"
category: PublishPress Capabilities / Backup
---

# Capabilities Backups in the Database, and Emergency Restores

[PublishPress Capabilities](https://publishpress.com/links/capabilities) will automatically create backups every time you make a change your site's user roles.

This article is a guide to where those backups are stored. It can also serve as a way to regain access if the capabilities on your site have been corrupt and you no longer have full admin access.

WordPress will store the current user capabilities in the `_options` table. Look for the `_user_roles` row and you'll see the capabilities and roles.

![WordPress core user permissions](https://publishpress.com/wp-content/uploads/2023/11/user-roles-database.png)

[PublishPress Capabilities](https://publishpress.com/links/capabilities) stores back in the `_options` table. Look for rows with names that begin with the `cme_backup_` row. The capabilities and roles are stored in exactly the same format as the current core table. If you are completely locked out of your site and can not use the normal backup features in the Capabilities plugin, you can copy the data from one of these `cme_backup_` rows and use it to replace the data in the `_user_roles` row.

![CME backup tables in the database](https://publishpress.com/wp-content/uploads/2023/11/cme-backup-1024x157.png)
