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

SQL JOBS INFO HIDDEN Expand / Collapse
Author
Message
Posted Wednesday, October 30, 2013 9:36 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 12:13 AM
Points: 258, Visits: 690
We have a set a job.. a Backup Task

When we check in Drive we can see Backup been happening on daily basis..
But when we see the Job History of that task..nothing is visible








************************************
Every Dog has a Tail !!!!!
Post #1510012
Posted Thursday, October 31, 2013 12:29 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 10:45 AM
Points: 1,058, Visits: 2,696

Have you tried "View history" through "Job Activity Monitor"?



Regards
Durai Nagarajan
Post #1510030
Posted Thursday, October 31, 2013 12:35 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, March 12, 2014 12:13 AM
Points: 258, Visits: 690
Ofcourse i did.. but no data...
but backup are happening that means Job is running daily.. but where is history gone








************************************
Every Dog has a Tail !!!!!
Post #1510031
Posted Thursday, October 31, 2013 12:41 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 7:42 AM
Points: 6,743, Visits: 8,515
I wouldn't be surprised if your backup is being made by "others".

To figure that out, you could set up a trace to capture backup details.

You could even get a first glimps of it looking at the backup history data:

declare @DbNameLike sysname 
declare @OnlyLastBUset bit
Select @DbNameLike = '%' -- = 'insite_coil'
, @OnlyLastBUset = 1

select BU.server_name
, BU.machine_name
, BU.database_name
, BU.name as BUName
, BU.backup_start_date
, BU.backup_finish_date
, case BU.[TYPE]
when 'D' then 'Full'
when 'I' then 'Diff'
when 'L' then 'Log'
when 'F' then 'File or filegroup'
when 'G' then 'Diff file'
when 'P' then 'Partial'
when 'Q' then 'Diff partial'
else '???'
end as BuType
, CAST(BU.backup_size / 1024 / 1024 as decimal(18, 3)) as backup_size_MB
/* SQL2008 added compressed_backup_size */
--, CAST(BU.compressed_backup_size / 1024 / 1024 as decimal(18, 3)) as COMPRESSED_BU_size_MB
, BU.position
, BU.[description]
/* SQL2005 added BU.recovery_model */
--, BU.recovery_model
, BU.[user_name]
-- hebben we niet in gebruik , BU.expiration_date
, BMF.physical_device_name
from msdb.dbo.backupset BU
inner join msdb.dbo.backupmediaset BS
on BS.media_set_id = BU.media_set_id
inner join msdb.dbo.backupmediafamily BMF
on BMF.media_set_id = BU.media_set_id

left join (
select @@ServerName as Server_Name
, D.name as DbName
, max(BU.backup_start_date) as Last_backup_start_date
, max(BU.backup_finish_date) as Last_backup_finish_date
from master.dbo.sysdatabases D
left join msdb.dbo.backupset BU
on D.[Name] = BU.database_name
and BU.[type] = 'D' -- D = FullDatabasebackup
group by D.name
--order by D.name

) LastFullBU
On LastFullBU.Server_Name = BU.server_name
and LastFullBU.DbName = BU.database_name
where BU.backup_start_date > DATEADD(MM, datediff(MM, 0, getdate()) - 1, 0) /* Sinds begin vorige maand */
and BU.database_name like @DbNameLike
and BU.backup_start_date >= case @OnlyLastBUset
when 1 then dateadd(mi, -15, LastFullBU.Last_backup_start_date)
else BU.backup_start_date
end
order by case when BU.[TYPE] in ( 'D', 'I', 'L', 'F', 'G', 'P', 'Q' ) then 1
else 0
end
, BU.database_name
, BU.backup_start_date
, BU.backup_finish_date
, BUName ;


Maybe the BU.[user_name] column can give you a hint.


Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1510032
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse