Recovering from a Disaster

Once you have replication configured, you should be able to re-create it easily in case of a disaster or if you want to deploy it to a client's location. In Enterprise Manager, the easiest way to generate a SQL Script for replication is to right-click on the publication in the Replication group and select Generate SQL Script. You are asked if you'd like to create a script for the removal of replication or the creation of replication. The script does the following:

  • Set up the database for replication

  • Create the publication

  • Assign the appropriate permissions to the publication

  • Add articles to the publication

  • Create the subscription

If a disaster occurs on your publisher or subscriber servers, the easiest way to recover is to use the following steps:

  1. Unsubscribe from the publisher.

  2. Restore the most recent backup or backups.

  3. Subscribe to the publisher.

  4. Resynchronize the system.




SQL Server 2000 for Experienced DBAs
ppk on JavaScript, 1/e
ISBN: 72227885
EAN: 2147483647
Year: 2005
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net