- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:30 PM
Hello @shiz
In ServiceNow, an Archive Rule is used to manage data retention by moving old or inactive records from the primary database tables to an archive table. This helps improve system performance by reducing the amount of active data, making queries and processes faster. Archiving also helps with data management, compliance, and storage efficiency.
Why Use Archive Rules?
- Performance Improvement: Over time, the main tables in ServiceNow can become very large, causing slower queries and affecting the performance of the instance. Archiving old records reduces the size of these tables.
- Data Management: Archived records are stored separately but still accessible if needed, allowing users to keep the main tables clean.
- Compliance: Organizations often have retention policies that dictate how long data must be kept. Archiving allows data to be retained without being actively stored in the primary tables.
How to Configure an Archive Rule
To create an archive rule in ServiceNow, follow these steps:
Navigate to the Archive Module:
- Go to System Archiving > Archive Rules.
Create a New Archive Rule:
- Click on New to create a new archive rule.
- Fill in the details:
- Name: Give a meaningful name to the rule.
- Table: Select the table from which records will be archived.
- Conditions: Define conditions that determine which records will be archived (e.g., closed incidents older than 1 year).
Set Archive Schedule:
- You can specify a schedule for when the archiving should occur (e.g., weekly, monthly).
Define Retention Period:
- Determine how long the archived data should be retained. You can configure this under System Archiving > Archive Deletion Rules.
Test and Enable the Archive Rule:
- Before enabling, you can test the rule to ensure it will archive the expected records.
- Once verified, enable the rule.
Access Archived Data:
- Archived records can be accessed by navigating to System Archiving > Archived Records, or through related lists on the original table.
Best Practices:
- Create Clear Conditions: Ensure that the conditions for archiving are well-defined to avoid archiving important active records.
- Monitor System Performance: Regularly check how archiving impacts system performance.
- Compliance: Align archiving practices with your organization’s data retention and compliance policies.
By following these steps, you can effectively manage and optimize data storage within your ServiceNow environment.
https://docs.servicenow.com/bundle/xanadu-platform-administration/page/administer/database-rotation/...
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:22 PM - edited ‎10-17-2024 11:23 PM
Hello @shiz
You could use the Archive rule and store the data in archive table that you can backup you instance data records.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:27 PM
Taking one's own example,
How should I operate it specifically? Could you please teach me?
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 11:30 PM
Hello @shiz
In ServiceNow, an Archive Rule is used to manage data retention by moving old or inactive records from the primary database tables to an archive table. This helps improve system performance by reducing the amount of active data, making queries and processes faster. Archiving also helps with data management, compliance, and storage efficiency.
Why Use Archive Rules?
- Performance Improvement: Over time, the main tables in ServiceNow can become very large, causing slower queries and affecting the performance of the instance. Archiving old records reduces the size of these tables.
- Data Management: Archived records are stored separately but still accessible if needed, allowing users to keep the main tables clean.
- Compliance: Organizations often have retention policies that dictate how long data must be kept. Archiving allows data to be retained without being actively stored in the primary tables.
How to Configure an Archive Rule
To create an archive rule in ServiceNow, follow these steps:
Navigate to the Archive Module:
- Go to System Archiving > Archive Rules.
Create a New Archive Rule:
- Click on New to create a new archive rule.
- Fill in the details:
- Name: Give a meaningful name to the rule.
- Table: Select the table from which records will be archived.
- Conditions: Define conditions that determine which records will be archived (e.g., closed incidents older than 1 year).
Set Archive Schedule:
- You can specify a schedule for when the archiving should occur (e.g., weekly, monthly).
Define Retention Period:
- Determine how long the archived data should be retained. You can configure this under System Archiving > Archive Deletion Rules.
Test and Enable the Archive Rule:
- Before enabling, you can test the rule to ensure it will archive the expected records.
- Once verified, enable the rule.
Access Archived Data:
- Archived records can be accessed by navigating to System Archiving > Archived Records, or through related lists on the original table.
Best Practices:
- Create Clear Conditions: Ensure that the conditions for archiving are well-defined to avoid archiving important active records.
- Monitor System Performance: Regularly check how archiving impacts system performance.
- Compliance: Align archiving practices with your organization’s data retention and compliance policies.
By following these steps, you can effectively manage and optimize data storage within your ServiceNow environment.
https://docs.servicenow.com/bundle/xanadu-platform-administration/page/administer/database-rotation/...
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You