?
Solved

Need to restore the database without breaking replication

Posted on 2013-06-09
7
Medium Priority
?
353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

777 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