Hello,
I have created a new sql geodatabase in my dev environment that has the schema, users, permissions etc set up according to best practices. I now need to replace my prod sql geodatabase with this dev sql geodatabase. I need to get the dev geodatabase to prod and get the data from prod into the dev. I have a rough outline of the steps I think I need to take.
1) Can you review the steps please and give any advice and feedback? I'll put steps below.
2) I'm using Traditional Versioning. When I copy/paste the data into the new Prod from old Prod - do I have to worry about data loss from data in the versioned tables? We won't be able to get to an end state count = 1 in the compress_log.
Steps:
Create a backup of Prod sql db DBNAME
Stop editing in Prod sql db DBNAME, stop ArcGIS Server map and feature services, disconnect users, run through rec/post/delete versions/compress.
Rename Prod sql db DBNAME to DBNAME_ProdOld
backup a copy of dev sql db to Prod, restore it to the DBNAME. Recreate logins, remap data users to logins
Delete all data and tables from DBNAME using ArcGIS Pro
one at a time, copy/paste all feature classes and tables into new Prod DBNAME from DBNAME_ProdOld – using the data owner connection.
Create the relationship classes.
Register the correct feature classes as Versioned
Add Editor Tracking and fields to versioned feature classes
Analyze, rebuild indexes, compress, analyze, rebuild indexes.
Create the 'Working' version
Create geodatabase connection files in ArcGIS Pro as sde user, data owner user, editor, and viewer users to test the geodatabase.
Restart all ArcGIS Server map and feature services
Thank you in advance,
Andrea