CP Domain Restoration: Running AutoDomains Script

Symptoms

When performing a backup restore via pkgacct or the "Transfer or Restore a cPanel Account" tool in WHM, the backup restoration process stops at the following:

AutoDomains
    Running AutoDomains script 

From here the restore cannot be stopped and never proceeds.

This occurs on accounts that have large files located in the backup, such as large MySQL databases.

 

Description

The "AutoDomains" script attempts to rewrite any temporary domains that may exist from the old server to be compatible with the new server.  This includes renaming document roots if required to reflect the updated hostname. If the backup has large files, this process stalls and the backup cannot proceed.

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-49084. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

Perform the restoration with the "AutoDomains" script disabled via the command-line. 

/scripts/restorepkg --disable=AutoDomains /path/to/backup.tar.gz
/scripts/restorepkg --disable=AutoDomains /backup/2026-05-11/accounts/realdjvybe.tar

Please note to replace "/path/to/backup.tar.gz" with the full path to the archive.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Force Server Backup

Force Server Backup: /usr/local/cpanel/bin/backup --force

How To Free Disk Space On cPanel - WHM Server

1. Delete user cPanel backups If you have the backup feature in cPanel enabled, chances are your...

Installing & Uninstalling CSF WHM Firewall

CloudLinux CloudLinux offers a secure version of Linux that provides advanced functionality...

Tucows OpenSRS Domain IPs

This is commonly caused by the port numbers that the OpenSRS API operates on being blocked by...

CodeGuard IP Addresses

Codeguard.com - US region:54.236.233.46 54.236.233.2854.174.91.3454.174.153.21254.174.115.171