~/talk

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

Talkat SQLBits 2022 · 2022-03-08..03-12· [databases]
slides:none on file

Demo shows dbatools managing real tasks: persistent SMO connections via Connect-DbaInstance, scanning backup headers with Get-DbaBackupInformation and piping to Restore-DbaDatabase to restore multiple databases from blob in one pipeline, a three‑line migration pattern (morning full, diff, final restore no recovery), adding NDFs then rebalancing data with Invoke-DbaBalanceDatabaseFiles, and creating an AG from code using certificates and seeding backups so it synchronizes quickly — build availability group with certificate auth in code. Tests use Pester to detect config skew.

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.