Managing replication with dbatools
summary
dbatools now includes dbatools replication commands that create a distributor and three publications (transactional, merge, snapshot), add articles (SalesLT.Customer with filtered article last name = Gates, Products, Address), and create push subscriptions to a second instance; snapshot, log reader and merge agents run and a newly inserted “Bill Gates” row replicates successfully. Commands also remove subscriptions/articles/publications and support automation with Confirm = $false. Monitoring features and a small disable-publisher bug remain open; demo scripts and Docker-ready samples live on the project GitHub.
AI-written summary · about
chapters (8)
- 0:00Introduction and background
- 1:44Overview of DBAtools
- 4:25SQL replication concepts
- 11:00Replication commands
- 13:00Live demo: setting it up
- 28:43Verifying replication
- 33:30Cleaning up the environment
- 38:49Q&A and final resources
related talks
48mManaging replication with dbatools
44mAnthony's Favorite dbatools cmdlets and Use Cases
44mMy romantic relation with Powershell generally and DBATools especially
56mLogical Replication of DDLs
20mSQL Server 2022 migrations with dbatools
36mSQL Server Configuration with dbatools & dbachecks
01h 19mBuilding an Efficient Replication System for Thousands of Terminals
46mLift and Shift with dbatools - Azure SQL Managed Instance edition
