Solved

Need to restore the database without breaking replication

Posted on 2013-06-09
7
311 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 500 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL Backup skipping a few tables 7 25
sql server query? 6 26
Calculating Business Hours 19 62
BULK LOGGED - log full 9 12
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now