---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Managing archived data

# Managing archived data {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Change the schedule for an archive rule, stop the archive rule from running, or restore your archived data.

## Change an archive schedule {#ariaid-title2}

Modify the system-scheduled job if you need to change the archive interval.

### Before you begin

Role required: admin

### About this task

All active archive rules are executed by a system-scheduled job set to run every 60 minutes.

### Procedure

1. Navigate to AllSystem SchedulerScheduled Jobs.
2. Open the Archive record.
3. Modify the repeat value.

## Stop an active archive rule {#ariaid-title3}

Stop archiving by deactivating, deleting, or canceling an archive rule.

### Before you begin

Role required: admin

### Procedure

1. Access the archive rule that you want to stop in one of the following ways.

   | Option | Steps |
   | Using a data management policy | 1. Navigate to AllSystem Data ManagementData Management Policies. 2. Select the data management policy with the archive rule that you want to stop. 3. In the Archive Rules related list, select the archive rule that you want to stop. {#delete-archive-rule__ol_wn2_qkk_1bc} |
   | Using the Archive Rules module | 1. Navigate to AllSystem ArchivingArchive Rules. 2. Select the archive rule that you want to stop. {#delete-archive-rule__ol_sk1_vkk_1bc} |
   |-|-|

   {#delete-archive-rule__choicetable_cxh_nkk_1bc}
2. Stop the archive rule from running.
   * Deactivate the archive rule by clearing the Active check box. The Archive - Handle archive chunks business rule updates the state of the corresponding record in the Archive Job Execution Chunks \[sys_archive_run_chunk\] table from waiting to not-needed.
   * Contact Customer Service and Support to delete the archive rule.
   * Cancel the archive rule by calling GlideArchiver().cancel() from System MaintenanceScripts - Background. This automatically changes the chunks in the Archive Job Execution Chunks \[sys_archive_run_chunk\] table from running to cancelled.
   {#delete-archive-rule__choices_j4w_l23_fwb}

### Result

No additional chunks are processed.

## Restore archived records and related records {#ariaid-title4}

Restore an archive record and optionally any related records back into the primary table.

### Before you begin

Role required: admin

### Procedure

1. Navigate to the archived record that you want to restore in one of the following ways.

   | Option | Steps |
   | Using a data management policy | 1. Navigate to AllSystem Data ManagementData Management Policies. 2. Select the data management policy that contains the archive rule. 3. In the Archive Rules related list, select the archive rule that archived the record. 4. In the Archive Run related list, select the archive run that was executed. 5. In the Archive Log related list, select the archived record that you want to restore. {#t_RestoreArchivedData__ol_fw5_bwy_1bc} |
   | Using the Archive Log module | 1. Navigate to AllSystem ArchivingArchive Log. 2. Select the archived record to restore. {#t_RestoreArchivedData__ol_qtl_gwy_1bc} |
   |-|-|

   {#t_RestoreArchivedData__choicetable_l2x_vvy_1bc}
2. In the Archive Log form, select the applicable related link:
   * Restore Record
   * Restore Record and Related Records

   {#t_RestoreArchivedData__choices_zpn_d4d_rlb}  
   Warning:  
   Don't delete archive record log entries. Deleting an archive log entry prevents you from restoring the data for the archived records.

### Result

The record is restored to the primary table. The archive record is deleted from the archive table.

### What to do next

View the restore date and time in the Restored column in the Archive Log related list.

*[\>]: and then


