{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":39067,"path":"platform-administration/managing-archived-data.md","title":"Managing archived data in Core UI","bundle":null,"doc_type":null,"release":"australia","body":"\n# Managing archived data in Core UI\n\nChange the schedule for an archive rule, stop the archive rule from running, or restore your archived data.\n\n**Parent Topic:**[Archiving records in Core UI](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/archiving-older-records.md)\n\n## Change an archive schedule in Core UI\n\nModify the system-scheduled job if you need to change the archive interval.\n\n### Before you begin\n\nRole required: admin\n\n### About this task\n\nAll active archive rules are executed by a system-scheduled job set to run every 60 minutes.\n\n### Procedure\n\n1.  Navigate to **All** &gt; **System Scheduler** &gt; **Scheduled Jobs**.\n\n2.  Open the **Archive** record.\n\n3.  Modify the **repeat** value.\n\n\n## Stop an active archive rule in Core UI\n\nStop archiving by deactivating, deleting, or canceling an archive rule.\n\n### Before you begin\n\nRole required: admin\n\n### Procedure\n\n1.  Access the archive rule that you want to stop in one of the following ways.\n\n<table id=\"choicetable_cxh_nkk_1bc\"><thead><tr><th align=\"left\" id=\"d225273e191\">\n\nOption\n\n</th><th align=\"left\" id=\"d225273e194\">\n\nSteps\n\n</th></tr></thead><tbody><tr><td id=\"d225273e200\">\n\n**Using a data management policy**\n\n</td><td>\n\n1.  Navigate to **All** &gt; **System Data Management** &gt; **Data Management Policies**.\n2.  Select the data management policy with the archive rule that you want to stop.\n3.  In the Archive Rules related list, select the archive rule that you want to stop.\n\n\n</td></tr><tr><td id=\"d225273e233\">\n\n**Using the Archive Rules module**\n\n</td><td>\n\n1.  Navigate to **All** &gt; **System Archiving** &gt; **Archive Rules**.\n2.  Select the archive rule that you want to stop.\n\n\n</td></tr></tbody>\n</table>2.  Stop the archive rule from running.\n\n    -   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**.\n    -   Contact Customer Service and Support to delete the archive rule.\n    -   Cancel the archive rule by calling GlideArchiver\\(\\).cancel\\(\\) from **System Maintenance** &gt; **Scripts - Background**. This automatically changes the chunks in the Archive Job Execution Chunks \\[sys\\_archive\\_run\\_chunk\\] table from **running** to **cancelled**.\n\n### Result\n\nNo additional chunks are processed.\n\n## Restore archived records and related records in Core UI\n\nRestore an archive record and optionally any related records back into the primary table.\n\n### Before you begin\n\nRole required: admin\n\n### Procedure\n\n1.  Navigate to the archived record that you want to restore in one of the following ways.\n\n<table id=\"choicetable_l2x_vvy_1bc\"><thead><tr><th align=\"left\" id=\"d225273e376\">\n\nOption\n\n</th><th align=\"left\" id=\"d225273e379\">\n\nSteps\n\n</th></tr></thead><tbody><tr><td id=\"d225273e385\">\n\n**Using a data management policy**\n\n</td><td>\n\n1.  Navigate to **All** &gt; **System Data Management** &gt; **Data Management Policies**.\n2.  Select the data management policy that contains the archive rule.\n3.  In the Archive Rules related list, select the archive rule that archived the record.\n4.  In the Archive Run related list, select the archive run that was executed.\n5.  In the Archive Log related list, select the archived record that you want to restore.\n\n\n</td></tr><tr><td id=\"d225273e424\">\n\n**Using the Archive Log module**\n\n</td><td>\n\n1.  Navigate to **All** &gt; **System Archiving** &gt; **Archive Log**.\n2.  Select the archived record to restore.\n\n\n</td></tr></tbody>\n</table>2.  In the Archive Log form, select the applicable related link:\n\n    -   **Restore Record**\n    -   **Restore Record and Related Records**\n    **Warning:** Don’t delete archive record log entries. Deleting an archive log entry prevents you from restoring the data for the archived records.\n\n\n### Result\n\nThe record is restored to the primary table. The archive record is deleted from the archive table.\n\n### What to do next\n\nView the restore date and time in the **Restored** column in the Archive Log related list.\n\n"}}