Copy Changes on Certain Tables Down to Sub-Environments Daily
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 05:00 AM
We currently clone down from our Prod to our sub-environments (Test and Dev) about once a quarter. We have frequent updates to the following tables in Production:
- sys_user
- sys_user_group
- sys_user_grmember
- sys_group_has_role
- sys_user_has_ role
A lot of these updates are needed in the lower environments (especially Test) for testing purposes. We are trying to figure out a way if we we could automatically capture the daily changes/updates from Prod, and push them down to the lower environments. I know how to do it manually. Simply query each of those tables on "Updated" field to identify just the recent changes, export them to an XML file, and then manually import them into the other environments. But would like to figure out a way to automate this process.
We thought there might be a way to simply "clone" those 5 tables (and nothing else), but after we thought about it, determined that is not a good idea. That is because there may also be changes "bubbling up" from Dev that would be creating things like new groups and service accounts that are not in Prod yet. So we would not want to lose them. That is why we were thinking we would need to do a "delta" file, of recent changes only, coming down from Prod to be loaded in Dev and Test.
Has anyone done anything like this? Any suggestions on how we may be able to do this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 06:18 AM
Hi @jmiskey
Sorry, but I did not work on this, so to give you wrong answer, request you have a lokk here:
https://www.youtube.com/watch?v=C7IesKIzyig
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 06:19 AM
Check on the licensing for it, because I looked into this a while back and it wasn't worth the cost, although it's the best solution for your requirement.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark