Intial Snapshot | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Intial Snapshot

Hi, If I Generate snapshot and then take backup of publisher
databse and restore to subscriber, Is that going to work?
What is best way to handle this? Thanks
Nilay

Are you trying to initially setup replication? You should do a backup and restore to subscriber before setting up replication. ———-
T Kelley
MS, MCDBA, OCA, CIW
Thanks Kelley, But I’ve to take Intial snap shot to insert new unique identifier column. Are you suggesting adding this column first and then take backup on publisher
and restore on subscriber and then generate snapshot and set up subscrpting to this publiscation? Thanks Nilay
No, perform the backup of Publisher and restore to subscriber first, then set up replication. The setup process creates the unique identifiers for you on both the publisher and subscriber. Make sense? Try MSDN or BOL for more info on setting up replication. ———-
T Kelley
MS, MCDBA, OCA, CIW
May refer this link http://www.mssqlcity.com/Articles/Replic/SetupSR/SetupSR.htm about setup of snapshot replication. HTH _________
Satya SKJ
Moderator
SQL-Server-Performance.Com

]]>