?
Solved

Need to restore the database without breaking replication

Posted on 2013-06-09
7
Medium Priority
?
377 Views
Last Modified: 2013-07-21
Hello Experts,

Is there any way where ,we can restore the old backup to the publisher without disturbing the existing replication.
After restore, it should start the snapsnot and should start publishing the articles to subscriber.

And publisher is of 220 gb and only 20 articles will be published.But all 20 articles has high volume of data ¬ 1 billions records.It takes 6 hours to set up the replication.

Is there any faster way to cut down the timings?
0
Comment
  • 4
  • 3
7 Comments
 
LVL 23

Accepted Solution

by:
Racim BOUDJAKDJI earned 1000 total points
ID: 39233366
Is there any way where ,we can restore the old backup to the publisher without disturbing the existing replication.
If you overwrite the existing published container, you better reinitialize your replication by dropping and recreating it.

Is there any faster way to cut down the timings?
I am afraid not but if you tell us why you need to do the restore, we may suggest a different course of action.

Hope this helps.
0
 
LVL 5

Author Comment

by:VIVEKANANDHAN_PERIASAMY
ID: 39233464
It's because, we have static backup ,reload the backup and reload with max value of record and do the performance testing with set of value ,record the values.
reload the db again and increase more records and record the values.
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 39233477
If this is 2005 and above, I would suggest setting up a database mirroring in parallel with replication, build a snapshot then point out temporarily reads on the snapshot in the publisher.  That will give you time to reset your replication.  

Hope this helps.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 5

Author Comment

by:VIVEKANANDHAN_PERIASAMY
ID: 39239741
If this is 2005 and above, I would suggest setting up a database mirroring in parallel with replication, build a snapshot then point out temporarily reads on the snapshot in the publisher.  That will give you time to reset your replication

I didn't get this point ,can you please explain me more briefly.

If i set up the mirroring how will it help during restore.Any way mirroring will get broken right.
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 39239924
I didn't get this point ,can you please explain me more briefly.
Means you can maintain remove the replication while keeping the data being synchronized on the mirror available for reads and refreshed periodically.

If i set up the mirroring how will it help during restore
You mirror on a database copy on the mirror, drop the publication, drop the replicated DB, restore the DB and recreate the replication.  The data will be available on the mirrored copy on readonly and can even be refreshed periodically.

You asked for a way to minimize downtime.
0
 
LVL 5

Author Comment

by:VIVEKANANDHAN_PERIASAMY
ID: 39300763
I need to understand.
0
 
LVL 5

Author Closing Comment

by:VIVEKANANDHAN_PERIASAMY
ID: 39342552
Since answer not practically appliable.I rating as C
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question