What is the best way to make an entire copy of an SDE geodatabase to a "test" SDE geodatabase?
The best method will be to do a Full database backup and restore.
Or else if you already have the test GDB created, you have got a few choices: Overview of copying geodatabases—ArcGIS Help | ArcGIS Desktop
Yes, I do have a TEST enterprise geodatabase already built.
But I am looking to have an exact duplicate, for testing purposes. I have read through the overview of copying and that doesn't seem to apply.
Should I delete the TEST enterprise geodatabase and do the SQL backup and restore?
Yes, that should help and be quick.
Which kind of Database (Oracle, SQL Server,etc) are you working with?
so just backup that SQL Server database and restore it on another Test instance and that should give you what you needed. An exact copy.
Can you explain "and restore it on another Test instance" ?
So do I need another existing instance, or am I creating the instance with restore?
An "instance" in SQL Server is a installation of SQL Server. Within that SQL Server instance, you can have multiple databases (as long as they do not have the same name). I think what Asrujit SenGupta is saying is to restore to the new SQL Server instance.
Example: Machine1\SQLServer to Machine2\SQLServer
Database Engine Instances (SQL Server)
I'm still new to SQL; Does this mean that I have to move off the current instance? Would it be possible to make a duplicate (TEST) database on the same instance? Is instance synonymous with machine? Can I have two instances on the same machine?
What would be the PROs & CONs of simply backing up the production database, and restoring to different named database (say, as TEST) in the same instance?
You can restore with a different name, but that is not supported with ArcGIS. You will not be able to connect from ArcGIS Desktop.
Asrujit SenGupta and George Thompson's Blog
Since this is true (in SQL Server backup and restore a DB will not able ArcGIS to connect to it) what should be the way to make a copy of a full geodatabase (datasets, feature classes, tables, RCs, subtypes, domains)?
You CAN connect to a restored SQL Server DB as long as the name of the DB is UNCHANGED. In these cases you must restore to a different instance of SQL Server or remove the original DB and then restore to the original instance.
You can make a copy via Copy/Paste in Catalog once you reconcile/post/compress and verify that any versioned data is out of the delta tables.
Use simple Copy\Paste OR Export using XML Workspace documents.....that will copy everything you needed.
Thank you for the suggestion. My hard situation came up because I was told not to reconcile due to editions we are working on and was having problems with old domains in some tables so did a DB restore and backup on the server side but since we are working on a single instance could not use the same name for the "clone" DB and then have faced the problem of not able to connect ArcGIS to that DB. We have cleaning tables and domains I was able to export as XML.
That is understandable but there are limited options in that instance.
Ok, I think I understand it now. Thank you for you help.
Retrieving data ...