SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL JOBS INFO HIDDEN


SQL JOBS INFO HIDDEN

Author
Message
OnlyOneRJ
OnlyOneRJ
Old Hand
Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)

Group: General Forum Members
Points: 348 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 w00t

************************************
Every Dog has a Tail !!!!! :-D
durai nagarajan
durai nagarajan
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1617 Visits: 2775
Have you tried "View history" through "Job Activity Monitor"?

Regards
Durai Nagarajan
OnlyOneRJ
OnlyOneRJ
Old Hand
Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)Old Hand (348 reputation)

Group: General Forum Members
Points: 348 Visits: 690
Ofcourse i did.. but no data...
but backup are happening that means Job is running daily.. but where is history gonew00t

************************************
Every Dog has a Tail !!!!! :-D
ALZDBA
ALZDBA
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12296 Visits: 8926
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


Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere w00t

- 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 :-D


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me Alien but most of the time this is me Hehe
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search