> Source: [sk61700](https://support.checkpoint.com/results/sk/sk61700)

# sk61700 - Database Revision Control files

| Property | Value |
|----------|-------|
| Solution ID | sk61700 |
| Date Created | 2011-03-17 |
| Last Modified | 2021-04-20 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R81.20, R82 |

## Solution

**For Revisions Management in R80/R80.10, refer to [sk113615](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk113615).**

When you create a Database Revision Control version in SmartDashboard for the first time, the "repository" directory is created in the following locations:

* on Security Management Server - in **`$FWDIR/conf/db_versions/`**   

* on Provider-1 Server / Multi-Domain Security Management Server - in **`$FWDIR/conf/db_versions/`** of the involved CMA / Domain (full path: `/var/opt/CPmds-R`*XX* `/customers/<Customer-Name>/CPsuite-R`*XX*`/fw1/conf/db_versions/`)

This directory will contain sub-directories for your Database Revision Control versions. Each sub-directory will be given a number as a name:

* **`$FWDIR/conf/db_versions/repository/1`** - contains the first database revision control version.
* **`$FWDIR/conf/db_versions/repository/2`** - contains the second database revision control version.
* etc...

The Database Revision Control file saved in each of these directories is usually named: **`ckp_mgmt_version.tar.gz`**

Note that every file in every numbered directory has the same name. The name, which you give to the Database Revision Control version in SmartDashboard in not used to name the file.

If user wants to delete a Database Revision Control version, user should do so from SmartDashboard (Go to '`File`' menu - click on '`DataBase Revision Control`' - select the entry and click on '`Delete`' button).

However, in certain cases, specific Database Revision Control versions become corrupt and user may not be able to delete them from SmartDashboard, or they may prevent the user from creating new Database Revision Control versions. User can manually remove the suspected directory in "`$FWDIR/conf/db_versions/repository/`" like this:

1. On Provider-1 Server / Multi-Domain Security Management Server, user must switch to the context of the involved CMA / Domain:  

   **`[Expert@HostName]# mdsenv `*CMA/Domain_Name***   

2. Go to the repository directory:   

   **`[Expert@HostName]# cd $FWDIR/conf/db_versions/repository/`**   

3. Delete the relevant Database Revision Control version:   

   **`[Expert@HostName]# rm -rf `*Directory_Name***

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
