Disable ProductionDB Replication
Before you begin
- If you have disabled triggers on CloneDB, enable them.
- In AWS DMS, stop the AWS DMS task. If you do not do so, the TLOG truncation warning message appears for the AWS DMS task.
- Back up the replication database:
- Access SSMS.
- In the Generate SQL Script window:
- Select the To create or enable the components option.
- Select .
- Enter replication_script, and then select Save.
About this task
Important:
In this task, angle brackets (< >) indicate placeholder text. If such placeholder text is part of a command, you must replace it with an appropriate value before running the command.
Procedure
- Access the AWS DMS console, and select the ongoing replication task.
- Stop the task.
- Access SQL Server Management Studio (SSMS).
-
Disable publishing and distribution for ProductionDB, and then remove all replication objects from the local publication of the database:
- Select .
- Right-Click [<production database>]:awsdms, and then select Generate Scripts.
Note:For more information, refer to the SSMS documentation.