Solved

Need to restore the database without breaking replication

Posted on 2013-06-09
7
317 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

816 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

12 Experts available now in Live!

Get 1:1 Help Now