Answered by:
Snapshot Replication

Question
-
Hello Folks,
There is any way to do the merge replication by sending the snapshot generated for the replication from publisher[SQL Server 2012 EP] to the subscriber [SQL server Express] by mail and apply the snapshot at the subscriber by a sql server job.
Monday, January 20, 2014 10:43 AM
Answers
-
Yes, this is possible. After the snapshot has arrived on the subcriber you can deploy if via the altsnapshot folder or dynamicsnapshot location settings parameter of replmerg.exe
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Marked as answer by Sofiya Li Tuesday, January 28, 2014 9:43 AM
Monday, January 20, 2014 1:17 PMAnswerer -
This isn't really possible using merge replication. You need to implement some form of change tracking and then package up those changes and mail them to the subscriber. Then you will need some code to download the data from your pop3 mailbox and apply it on the subscriber.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Tuesday, January 21, 2014 1:06 PMAnswerer
All replies
-
I do not understand your question. You can not create snapshot with mail.
Why do you want MAIL here? Simple answer is If you dont have connectivity between publisher and subscriber, you can not have Replication at all.
Monday, January 20, 2014 10:51 AM -
Yes, this is possible. After the snapshot has arrived on the subcriber you can deploy if via the altsnapshot folder or dynamicsnapshot location settings parameter of replmerg.exe
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Marked as answer by Sofiya Li Tuesday, January 28, 2014 9:43 AM
Monday, January 20, 2014 1:17 PMAnswerer -
Yes, this is possible. After the snapshot has arrived on the subcriber you can deploy if via the altsnapshot folder or dynamicsnapshot location settings parameter of replmerg.exe
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Hello Hilary,
Actually I have an impression that it needs to have a connectivity between publisher and subscriber to create a snapshot. But your reply looks like we do not need a connectivity. Thanks for sharing the same.
Could you please share any link with me or any of you blogs that illustrates the same.
Monday, January 20, 2014 1:29 PM -
You need connectivity to apply the snapshot. The subscriber has to get reference data from the publisher but can apply the snapshot locally from a folder. The snapshot data can be sent to the subscriber by a multitude of means, ftp, file copy or email.
But the subscriber does need to connect to the publisher - it can't be completely isolated from the publisher.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Monday, January 20, 2014 1:42 PMAnswerer -
You need connectivity to apply the snapshot. The subscriber has to get reference data from the publisher but can apply the snapshot locally from a folder. The snapshot data can be sent to the subscriber by a multitude of means, ftp, file copy or email.
But the subscriber does need to connect to the publisher - it can't be completely isolated from the publisher.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Monday, January 20, 2014 2:34 PM -
Thanks Latheesh! for attending my query.My requirement is like we need to replicate some data change's from central server to client on periodic basis.
Client is with SQL express and only facilitated with satellite connection with POP3...Thats why I am asking whether I can send the snapshot generated from publisher as packet by mail and apply manually or by a scheduled job to subscriber.
Tuesday, January 21, 2014 5:51 AM -
This isn't really possible using merge replication. You need to implement some form of change tracking and then package up those changes and mail them to the subscriber. Then you will need some code to download the data from your pop3 mailbox and apply it on the subscriber.
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Tuesday, January 21, 2014 1:06 PMAnswerer