Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MS_DistributorMetadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ SELECT * INTO MSdistpublishers FROM msdb..MSdistpublishers WITH(NOLOCK)
Go

--Change backup location if needed.
BACKUP DATABASE MS_DistBackup to disk='c:\MS_DistBackup.bak'
BACKUP DATABASE MS_DistBackup to disk='c:\MS_DistBackup.bak' WITH COMPRESSION
Go

5 changes: 3 additions & 2 deletions MS_PublisherMetadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
--Execute on the Publisher: modify backup location below as needed
--
--Note: Some errors may appear as not all tables
-- may exists on all subscribers
-- may exists on all publishers (different types of replication).
-- This is expected and can be ignored.
--

CREATE DATABASE MS_PublisherMetadata
Expand Down Expand Up @@ -107,7 +108,7 @@ SELECT * INTO MS_PublisherMetadata.dbo.MSpeer_conflictdetectionconfigrequest FRO
Go

--Change backup location if needed.
BACKUP DATABASE MS_PublisherMetadata TO DISK='c:\MS_PublisherMetadata.bak'
BACKUP DATABASE MS_PublisherMetadata TO DISK='c:\MS_PublisherMetadata.bak' WITH COMPRESSION
GO


7 changes: 4 additions & 3 deletions MS_SubscriberMetadata.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
--Subscriber Replication Metadata Collection Script
--Execute on the Subscriber database
--Note: Some errors may appear as not all tables
-- may exists on all subscribers
--
-- may exists on all subscribers (different types of replication).
-- This is expected and can be ignored.

create database MS_SubscriberMetadata
go
Expand Down Expand Up @@ -95,6 +96,6 @@ SELECT * INTO MS_SubscriberMetadata.dbo.MSsnapshotdeliveryprogress FROM dbo.MSsn
Go

--Change backup location if needed.
Backup database MS_SubscriberMetadata to disk='c:\MS_SubscriberMetadata.bak'
Backup database MS_SubscriberMetadata to disk='c:\MS_SubscriberMetadata.bak' WITH COMPRESSION
Go