~/talk

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

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases]
slides:none on file

Demonstrates dbatools doing real work: standing up two SQL Server containers in seconds, keeping a persistent SMO connection with Connect-DbaInstance, migrating databases by taking a morning full plus a differential and restoring to a target in three lines of code, scanning blob backups with Get-DbaBackupInformation and piping them into Restore-DbaDatabase, rebalancing added files by rebuilding clustered indexes with Invoke-DbaBalanceDataFiles, creating an Availability Group in ~30 seconds with certificate auth, and syncing logins with preserved SIDs; all demos run and produce the expected restores, AGs and configuration checks.

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.