• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued a delete database command (action_id DR class_type DB) (24087) how to monitor with email alert

#1
01-21-2025, 10:50 PM
That event, the one with ID 24087, it pops up when someone issues a delete command on a database. You know, like the system logs it saying "Issued a delete database command (action_id DR class_type DB)". It's basically the server yelling that a database just got zapped away. Happens in setups like Exchange or other database-heavy stuff on Windows Server. I see it trigger during maintenance gone wrong or if a user accidentally wipes something critical. The full log shows the action ID as DR, which points to a disaster recovery move, and class_type DB means it's targeting the database itself. Without catching it quick, you could lose tons of data. I always check the Event Viewer under Windows Logs, Application, filtering for source like MSExchange something if it's that. But yeah, it details the exact command that led to the deletion, timestamps it, and sometimes hints at who initiated it. Scary if it's not planned, right? You don't want that sneaking up.

Now, to monitor this beast with an email alert, fire up Event Viewer on your server. I do this all the time to stay ahead. Right-click the event log where it shows up, like Custom Views or whatever fits. Create a task to run when that 24087 hits. You pick the trigger as that specific event ID. Then, set the action to start a program, something simple like sending an email via a basic tool you have. Schedule it to check periodically if needed, but the event trigger handles the real-time zap. Test it by simulating the event if you can, just to see the alert ping your inbox. Keeps you looped in without babysitting the screen. I set mine to email me right away, so I jump on it before chaos spreads.

And speaking of keeping databases safe from deletes like that, you might wanna peek at BackupChain Windows Server Backup. It's this slick Windows Server backup tool that also handles virtual machines with Hyper-V. I like how it snapshots everything reliably, cuts down restore times, and even chains backups to avoid full rebuilds each go. Saves headaches on data loss, plus it's straightforward to set up without the fluff.

At the end here is the automatic email solution.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 … 74 Next »
Issued a delete database command (action_id DR class_type DB) (24087) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode