数据库丢失!寻找根本原因
假设有一天,管理员像往常一样来到办公室,在 Sql Server 数据库上执行管理任务,他惊讶地发现数据库丢失了。他不知道是谁删除了它,或者是来自外部批处理或 SQL 注入等……从哪里开始调查,以及应该采取哪些重要参数/发现来找到删除数据库的根本原因。比如应该检查哪些日志,应该调查哪些信息?
Assume one fine day an admin comes to the office like he always does to do his admin tasks on Sql Server Databases and to his surprise finds a database missing. He has no clue of who dropped it or was it from an external batch or SQL injection etc ... where do one start an investigation and what are the important parameters/ findings that should happen to find the root cause of the Drop DB. Like what logs shud be checked and what information shud be investigated ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
c:\Program Files 下的日志文件中有一条由 SQL Server 管理的默认跟踪...
您可以通过SQL命令查看该文件。例如,要查看文件 log_19.trc,您可以触发类似的命令
,这可能会显示何时何人删除了数据库。
更多信息请参见这里...
There is a defaul trace managed by SQL Server in a log file under c:\Program Files...
You can view this file by SQL command. For example to see the file log_19.trc you can fire command like
This will probably show when and who dropped the database.
More information can be found Here...