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

# sk180890 - Local backup of Security Management Server fails with "BACKUP operation failed. Details: Environment Error ... Aborting"

| Property | Value |
|----------|-------|
| Solution ID | sk180890 |
| Date Created | 2023-04-30 |
| Last Modified | 2025-01-13 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server |
| Versions | R82, R81.20, R81.10 (EOS), R82, R81.20, R81 (EOS), R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * Backup of Security Management Server fails with error "*BACKUP operation failed. Details: Environment Error ... Aborting*".
* Error messages in the *backup.elg* file show:

  ```
  
  [Wed Mar 22 13:31:58 2023]: Error: 'missing_dir': Directory  does not exist.
  [Wed Mar 22 13:31:58 2023]: Error: 'verify_env': The following directories are mising:
  [Wed Mar 22 13:31:58 2023]: Error: 'verify_env': /var/CPsnapshot/log/snapshots[Wed Mar 22 13:31:58 2023]: Environment Error ... Aborting.
  [Wed Mar 22 13:31:58 2023]: Environment Error ... Aborting.
  [Wed Mar 22 13:31:58 2023]: Info: 'main' : <<<< END - 22/03/23-13:31:58-IST >>>>
  ```

* Error messages in the *backup.elg* file from a gateway show:

  ```
  
  [Thu Dec 12 10:28:16 2024]: Error: 'verify_env': The following directories are mising:
  [Thu Dec 12 10:28:16 2024]: Error: 'verify_env': /var/log/CPbackup/backups
  ```

## Cause

The backup fails because the */var/CPsnapshot/log/snapshots* directory is missing from the Security Management Server.  

The backup can fail because the */var/log/CPbackup/backups* directory is missing from the gateway.  

<br />

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
