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

# sk180494 - "Export failed: got at least one duplicate UID in requested list" error on Management Server during upgrade and manual database export

| Property | Value |
|----------|-------|
| Solution ID | sk180494 |
| Date Created | 2023-02-03 |
| Last Modified | 2023-02-03 |
| Technical Level | Advanced |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS) |
| OS | Gaia |

## Symptoms

- * While upgrading the Secondary Multi-Domain Security Management Server in Gaia Portal with CPUSE, these errors appear:

  (This example is from an upgrade from R80.40 to R81.10)

  `The package failed to install at [DATE TIME]`  
  `
  Reason of failure: Failed during export process.`  
  `
  Failed to execute: . /opt/CPshared/5.0/tmp/.CPprofile.sh >/dev/null 2>&1 ;cd /mnt/fcd/new_upgrade_tools_migrate_dir; export UPGRADE_CONTEXT=cpuse; export CPUSE_SHOW_PROGRESS_ID=Check_Point_R81.10_T335_Fresh_Install_and_Upgrade.tgz; export UPGRADE_ID=XXX; /opt/CPsuite-R80.40/fw1/scripts/migrate_server export -v R81.10 -npb -skip_upgrade_tools_check -n -d /mnt/fcd/new_upgrade_tools_migrate_dir/migrated_mgmt.tgz >> /var/log/install_Major_R81.10_ignis_main_T335_1_detailed.log 2>&`
* Similar errors appear when exporting the management database in CLI:

  (This example is from an R80.40 server)

  `[Expert@MDS:0]# /opt/CPsuite-R80.40/fw1/scripts/migrate_server export -v R81.10 -skip_upgrade_tools_check /var/log/export_test.tgz`  
  `
  The export operation will eventually stop all Check Point services (mdsstop). Do you want to continue (yes/no) [n]? y`  
  `
  Exporting the Management Database`  
  `
  Operation started at DATE TIME`  
  `
  `  
  `
  DATE: Failed to export: Export failed: got at least one duplicate UID in requested list, duplicates UIDs: [XXX, XXX, XXX, XXX, XXX]`

## Cause

There are links that have the same '*largeobjid* ' and '*file_id*' in the Postgres database.

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