Recover a failed import
If an import fails, you can use a recovery package generated during the import and restore your environment using the Sitecore Content Hub CLI.
To recover a failed import:
-
Locate the job ID either on the Recent processes page or on the Background processes page.
-
Optionally, to find the failed job using the CLI, you can execute the following command:
-
To obtain the backup order ID required for recovery, execute:
-
To download the recovery package associated with the failed import, execute:
-
To restore the tenant using the recovery package, execute:
-
To verify that the recovery process has completed successfully, execute:
Best practices
Follow these best practices to ensure a safe and successful recovery:
-
Review error messages in the simulation summary report before proceeding.
-
Always use the correct CLI context and ensure you have the necessary permissions.
-
Do not skip steps—restoring from an incorrect package or skipping the recovery import can worsen tenant issues.
-
Monitor the import job until it completes to ensure successful recovery.