How to recover deleted data from a ServiceNow instanceSummary<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } This article describes the options for recovering deleted or missing data from a ServiceNow instance, including the Deleted Records module, rollback contexts, and manual data recovery by ServiceNow Support. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All supported releases Instructions<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Recovering deleted or missing data from ServiceNow depends on how and when the data was deleted. The following sections describe the available recovery options. Deleted Records module The Deleted Records module tracks deleted records for audited tables only. If table A references table B or C and only table A is audited, data from table B or C cannot be retrieved from the Deleted Records module. If data is removed from the Deleted Records [sys_audit_delete] table, the data cannot be retrieved. Rollback context Rollback contexts are enabled by default when data is deleted using a script from Background Scripts. The rollback context tracks INSERT, DELETE, and UPDATE statements and can recover data by undoing SQL statements within 10 days of deletion. Key points: Rollback contexts are retained for 10 days and then purged.The scheduled job, Clean Expired Rollback Contexts, cleanses the table based on rollback context expiration properties.Rollback must be configured for the script execution. For more information, see the rollback context articles in Related Links. Manual data recovery by ServiceNow Support For production instances, ServiceNow Support can recover most data if the issue is reported within four days of the deletion event. Database transaction logs (BINLOGS) are retained for four days. Example: If the daily backup is from 6 a.m. and data deletion occurs at 10 a.m., data logged between 6 a.m. and 10 a.m. would normally be lost. However, if BINLOGS are available, ServiceNow Support can restore the 6 a.m. backup and replay the BINLOGS to recover data up to 10 a.m.. If data loss is observed after four days, some data may still be recoverable using 14-28 day backups, depending on your organization's retention period. For production instance data deletion or corruption, create a ServiceNow Support case as soon as possible to use BINLOGS for data retrieval. Warning: Manual data recovery is not available for non-production environments. For non-production data loss, see Data loss on non-production instances in Related Links. Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Deleted Records module Use the Deleted Records module to restore a deleted record Record Deletes/Updates, how to track, find and troubleshoot these issues Rollback context Rollback context properties Roll back and delete recovery How to enable rollback context for Fix Script Execution Mass deletion and excess data management recommendations Manual data recovery Backup Request for a Production instance Data recovery from an upgrade perspective Data loss on non-production instances