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

# sk181216 - "Failed to import: This task failed to complete in the allotted time period and will be removed from the task list" error when importing server database

| Property | Value |
|----------|-------|
| Solution ID | sk181216 |
| Date Created | 2023-07-05 |
| Last Modified | 2023-07-06 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R81.20, R81.10 (EOS) |

## Symptoms

- The `'migrate_server import'` command exits with error: "`Failed to import: This task failed to complete in the allotted time period and will be removed from the task list.`" when you import the Security Management Server database.

## Cause

The 'migrate_server import' command aborts as the task got timeout after not being updated for 5 hours, while the upgrade continues to work in the background.

## Solution

Extend the timeout of the import task, for example, to 8 hours:

* In R81.20 and higher versions, run:

  `#$MDS_FWDIR/scripts/modify_upgrade_flags.sh -s import_task_timeout 8`
* In R81.10 and lower versions, run:

  `#echo 8 > /var/log/import_task_timeout`

---

# 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
