Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 1234»»»

Data deleted - how to tell when? (using .bak and .trn) Expand / Collapse
Author
Message
Posted Thursday, November 11, 2010 5:36 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 9:54 AM
Points: 15, Visits: 9
Hi there,

We had an issue overnight when some of our data was deleted. Specific rows from specific tables.

We have backup files (.bak) from before and after, and Transaction Log Files (.trn)

How can I use these to tell when the data was deleted, and by who?
Thanks
Neal
Post #1019240
Posted Thursday, November 11, 2010 5:40 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, November 10, 2014 2:21 AM
Points: 2,223, Visits: 3,652
do u have an audit trace running/3rd party auditing tool installed and running on server?




Pradeep Singh
Post #1019241
Posted Thursday, November 11, 2010 5:43 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 9:54 AM
Points: 15, Visits: 9
I'm not sure but I don't think so
Post #1019245
Posted Thursday, November 11, 2010 5:44 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, December 17, 2014 2:34 AM
Points: 1,335, Visits: 664
You might be able to find the approximate deletion time by applying T-Logs one by one,

but you won't be able to find user name, unless you have Audit Trace.


Vishal Gajjar
http://SqlAndMe.com
Post #1019246
Posted Thursday, November 11, 2010 5:48 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, November 10, 2014 2:21 AM
Points: 2,223, Visits: 3,652
nealhudson77 (11/11/2010)
I'm not sure but I don't think so


what does the following code return?

 
select value from sys.configurations where name='c2 audit mode'






Pradeep Singh
Post #1019249
Posted Thursday, November 11, 2010 5:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 9:54 AM
Points: 15, Visits: 9
Vishal.Gajjar (11/11/2010)
You might be able to find the approximate deletion time by applying T-Logs one by one,

but you won't be able to find user name, unless you have Audit Trace.


Really?

I would have thought a 'Transaction Log File' would give you this, seeing as by definition it should hold every transaction in the database?
Post #1019250
Posted Thursday, November 11, 2010 5:52 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, December 17, 2014 2:34 AM
Points: 1,335, Visits: 664
No T-Log will not give you User Name,,

Vishal Gajjar
http://SqlAndMe.com
Post #1019253
Posted Thursday, November 11, 2010 5:54 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 9:54 AM
Points: 15, Visits: 9
Vishal.Gajjar (11/11/2010)
No T-Log will not give you User Name,,

Thanks.

Is there any way to parse this file to look at transaction?

I know the table name the records were deleted from, and the individual rows.

I'm not sure if there was a malicious attack on the server or not yet.
Post #1019254
Posted Thursday, November 11, 2010 5:57 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, November 10, 2014 2:21 AM
Points: 2,223, Visits: 3,652
There are third party log reader tools available.
you may want to see this.
http://www.apexsql.com/sql_tools_log.aspx





Pradeep Singh
Post #1019258
Posted Thursday, November 11, 2010 6:01 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, November 11, 2010 9:54 AM
Points: 15, Visits: 9
ps. (11/11/2010)
nealhudson77 (11/11/2010)
I'm not sure but I don't think so


what does the following code return?

 
select value from sys.configurations where name='c2 audit mode'


This returns 0

Post #1019261
« Prev Topic | Next Topic »

Add to briefcase 1234»»»

Permissions Expand / Collapse