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

# sk102493 - "Migrate import" / "migrate export" commands fail with "ERR: Failed to restore PostgreSql database. Can not find postgresBackup folder under the  archived file in the imported database"

| Property | Value |
|----------|-------|
| Solution ID | sk102493 |
| Date Created | 2014-09-15 |
| Last Modified | 2018-10-05 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| Platform | Smart-1 |

## Symptoms

- * The command "$FWDIR/bin/upgrade_tools/migrate import " fails with errors:  

  `
  [DATE TIME] [ImportUepmPostgresDB::exec] ERR: Failed to restore PostgreSql database. Can not find postgresBackup folder under the archived file in the imported database`  
  `
  [DATE TIME] .<-- ImportUepmPostgresDB::exec`  
  `
  [DATE TIME] <-- ConditionalExecutor::exec`  
  `
  [DATE TIME] [ActivitiesManager::exec] ERR: Activity 'ConditionalExecutor' failed
  `  

* The command "$FWDIR/bin/upgrade_tools/migrate export " fails with errors:  

  `
  [DATE TIME] [ExportUepmPostgreDB::exec] ERR: Failed to create a backup to postgreSQL database`  
  `
  [DATE TIME] .<-- ExportUepmPostgreDB::exec`  
  `
  [DATE TIME] <-- ConditionalExecutor::exec`  
  `
  [DATE TIME] [ActivitiesManager::exec] ERR: Activity 'ConditionalExecutor' failed
  `

## 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
