- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 06:14 AM
We often clone from our Prod instance to our Dev instance so our data is updated and we're sure the DEV instance is well synchronized with our production. However, in our DEV instance we gaved higher roles to some user to allow them to test their module. For example, most of them have the personalization role to allow them to personify in DEV, but are allowed to personify in production.
When we clone the DEV instance from PROD, those extra roles are lost and we have to give them back after the clone process. What's the best way to preserve those extra roles although we clone the instance?
Thank you!
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2016 08:48 AM
Hi Dimitar!
I created a new forum for cleanup scripts after cloning.
This should help you and others!
This should all help.
Preserve data and activity post clone - Cleanup Scripts
Have fun!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 06:32 AM
If I remember correctly, you can add some tables to 'exclude' while doing cloning operation.
That being said, and if you have assigned only OOB roles to your users in DEV, I think you will probably have to exclude at least three tables from cloning
1)sys_user
2) role table (I don't remember table name)
3) role and user table (I guess it is sys_user_role) which store relation between single role to single user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 06:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 06:35 AM
Here is another one to preserve the data on target table *
http://wiki.servicenow.com/index.php?title=System_Clone#Preserving_Data_on_the_Target_Instance
You can go through it to check if you can select the tables of your choice you want to preserve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 07:01 AM