ppk on JavaScript, 1/e
|
|
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:
-
Unsubscribe from the publisher.
-
Restore the most recent backup or backups.
-
Subscribe to the publisher.
-
Resynchronize the system.
|
|