How to fix it
- Check the clone status and logs by navigating to
System Clone > Clone Historyin the target instance. Look for error messages or scripts showing 'Running' status for over 30 minutes. - If post-clone scripts are stuck, go to
System Definition > Tablesand opensys_clone_log. Filter by State = Running and manually change stuck records to State = Completed. - Cancel the current clone by going to
System Clone > Request Cloneand clicking the Cancel Clone button if the option is available. - Configure clone excluders by navigating to
System Clone > Clone Excluderin the source instance. Add these high-volume tables:sys_journal_field, sys_audit, sys_email, syslog, sys_attachment. - For each table to exclude, click New, enter the
Table name, setClone typeto Data and Structure, and checkExclude data.
Don't exclude sys_user, sys_user_group, or cmdb_ci tables as these are required for basic functionality.
- Check disk space on the target instance by going to
System Diagnostics > Stats > Database. Ensure at least 3x the source database size is available. - Identify problematic post-clone scripts by checking
System Definition > Script Includesand searching for scripts withType = Post Clone. Temporarily deactivate custom post-clone scripts. - Clean up the source instance by running
System Maintenance > Database Cleanupto remove old logs, emails, and audit records older than 90 days. - Request a new clone during off-peak hours (typically 6 PM - 6 AM local instance time) when ServiceNow's clone infrastructure has less load.
- Monitor the new clone progress in
System Clone > Clone Historyand check for completion within expected timeframe (4-8 hours for large instances).
If the clone still fails, contact ServiceNow Support with the Clone Request ID from the clone history. They can check infrastructure-level issues and manually intervene if needed.