Question

I have two server in two areas "WAN" : "distributed system". I applied a merge replication for these two servers (Microsoft Sql Server 2008 R2). Now I'd like to generate the database script "Schema and Data", without replication data informations (rowguid column, ...) to run in a third local server (development server)?

how can I generate my script? thank you in advance.

Was it helpful?

Solution

You will need to use backup and restore. When doing the restore to your development server exclude the KEEP_REPLICATION switch. This will ensure that no replication metadata will be restored.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top