~/talk

Unlocking Database Automation with dbatools: Practical Use Cases and Real-World Insights

Talkat SQLBits 2019 · 2019-02-27..03-02· [databases]
slides:none on file

Shows concrete dbatools PowerShell commands: standing up two SQL Server containers in seconds, creating persistent SMO connections, taking morning full plus differential backups and migrating with three lines of code (full, diff, restore), and restoring multiple databases from Azure Blob using a SAS credential and get‑dba‑backupinformation to build the restore sequence. Demonstrates invoke‑dba‑balance‑dbfiles to rebalance four added NDFs, creates an AG in ~30 seconds, and uses Pester tests to detect configuration skew; scanning blobs can take ~9 minutes over Wi‑Fi.

AI-written summary · about

  1. 0:00Introduction to DBA tools
  2. 1:04Managing SQL at Scale
  3. 2:06Resources and Session Goals
  4. 4:00Persistent SQL Connections
  5. 6:12Automating Backup and Restore
  6. 7:25Docker and Credential Demo
  7. 10:48Instance Discovery Methods
  8. 12:54Simple Backup and Restore
  9. 14:29Database Migration Techniques
  10. 18:01TDE Considerations
  11. 19:08Azure Blob Storage Restores
  12. 24:06Database File Management
  13. 26:41File Balancing Techniques
  14. 28:55Building Availability Groups
  15. 33:31AG Database Addition
  16. 35:35Syncing Server Level Objects
  17. 38:47Security and Login Syncing
  18. 41:50Configuration Management
  19. 43:51Testing with Pester
  20. 46:15AI in SQL Management
  21. 49:46Wrap Up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.