- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 05:36 AM
Hi all,
We are going to do instance copy in these days.
ATF tests may get lost during the copy so that we want to do backup.
I can think of two ways:
1, Backup to local and restore, for this option, there are two branches:
a, Backup test itself and restore
b, Add test to update set, backup update set and restore
2, Backup to another instance
Anyone can help?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 05:44 AM
Our recommended best practice for preserving tests during a clone is to move them like any other development into your productions instance (but don't run them there) so they get cloned down with the rest of your production instance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 08:11 AM
If you did not originally capture them as part of an update set or scoped app it won't be very easy to back them up. There are too many tables involved to just export xml from specific tables. I have heard of people using the copy test functionality to copy the test and capture that copy in an update set, so that's probably your best bet. I am not aware of any documentation, though.
Moving forward, I would capture all of your test creation in update sets/scoped apps and move it into prod like you would any other type of ServiceNow development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2020 07:57 PM
Finally we moved tests to another dev instance for backup.
Thank you very much for your help.