Indiviadual table backup

dipesh1
Kilo Contributor

What I need to do is to delete some records based on some filters.

But before I do that I want to take a backup of that table in case some issues are caused due to deletion

Is there way to take such backups?

6 REPLIES 6

tdf
Kilo Expert

There is no way to formally do a backup, they are all done at night automatically for us.   If you're truly worried about it you could restore the deleted record after the fact if it is a problem (Restoring Deleted Records - ServiceNow Wiki).   Depending on which table you're doing this for there could be some performance implications so you'll want to make sure you read through Turning on Auditing (History) for a Table - ServiceNow Wiki which talks about them.



-tim


Anurag Tripathi
Mega Patron
Mega Patron

You can export the table records in an XML and keep it on your machine. In case of failure you can use this xml as the backup.



Depending on the need you can either export all the records or just the ones you are going to delete.


-Anurag

What are the exact steps to do this? I need to export sys_cb_topic to copy it into my dev-environment.

Right click on the table list  header -> Export -> XML

find_real_file.png

 

 

PS: This will only export the data of the current table(for the filter you have applied), and not any related lists(related data)

-Anurag