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


Maintenance Plan "Ghost"


Maintenance Plan "Ghost"

Author
Message
rtrim(ltrim(' '))
rtrim(ltrim(' '))
Mr or Mrs. 500
Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)

Group: General Forum Members
Points: 556 Visits: 260
System details: SQL 2014 SQL Microsoft SQL Server 2014 (SP1-CU9-GDR) (KB3194722) - 12.0.4487.0 (X64) Developer Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor) SP1
Process:
  • Make a basic backup maintenance plan. Save it. See the jobs created in SQL Agent. But,
    • There's nothing in maintenance plan folder and,
    • No records in sysmaintplan_plans or sysdbmaintplan_databases
Any clues on why this is happening?





P.S. Yes, I am aware of Ola scripts and other solutions. This works (or should) for the basic process.

Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74743 Visits: 15284
ReReplaced - Thursday, November 8, 2018 1:27 PM
System details: SQL 2014 SQL Microsoft SQL Server 2014 (SP1-CU9-GDR) (KB3194722) - 12.0.4487.0 (X64) Developer Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor) SP1
  • Make a basic backup maintenance plan. Save it. See the jobs created in SQL Agent. But,
    • There's nothing in maintenance plan folder and,
    • No records in sysmaintplan_plans or sysdbmaintplan_databases
Any clues on why this is happening?





P.S. Yes, I am aware of Ola scripts and other solutions. This works (or should) for the basic process.


If you check the job itself and go to the first step for whatever subplan and select edit, what does it list for the package location on the package tab of the job?
Another thought and hopefully this isn't it but have you tried with another version of SSMS?

Sue



rtrim(ltrim(' '))
rtrim(ltrim(' '))
Mr or Mrs. 500
Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)

Group: General Forum Members
Points: 556 Visits: 260
Sue, Here's the screenshot - there's a few Maintenance plans listed, but not in the maintenance plan folder

Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74743 Visits: 15284
ReReplaced - Thursday, November 8, 2018 1:47 PM
Sue, Here's the screenshot - there's a few Maintenance plans listed, but not in the maintenance plan folder

Yes I saw that and the jobs. That's why I asked about the jobs and also trying another version of SSMS.

Sue




rtrim(ltrim(' '))
rtrim(ltrim(' '))
Mr or Mrs. 500
Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)

Group: General Forum Members
Points: 556 Visits: 260
Sue_H - Thursday, November 8, 2018 1:52 PM
ReReplaced - Thursday, November 8, 2018 1:47 PM
Sue, Here's the screenshot - there's a few Maintenance plans listed, but not in the maintenance plan folder

Yes I saw that and the jobs. That's why I asked about the jobs and also trying another version of SSMS.

Sue

Apologies for stating the obvious. I've tried SSMS 2014 on the VM, 2016 and 2008 on my workstation - the plans do not show in any of the SSMS consoles.

Edit: I built all on the VM server, in the 2014 SSMS console

Michael L John
Michael L John
SSC-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21521 Visits: 10432
I know this, but I don't remember it!
I haven't used maintenance plans for a long time.

There's a glitch in the GUI of SSMS, and I THINK, if you rename the jobs, or remove a step, or something like that, the steps of the maintenance plan essentially disappear.

Here's what I suggest. Create the maintenance plan and do not change anything. Then re-open it and make whatever changes you need. I do remember that

Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
rtrim(ltrim(' '))
rtrim(ltrim(' '))
Mr or Mrs. 500
Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)Mr or Mrs. 500 (556 reputation)

Group: General Forum Members
Points: 556 Visits: 260
Michael L John - Thursday, November 8, 2018 2:14 PM
I know this, but I don't remember it!
I haven't used maintenance plans for a long time.

There's a glitch in the GUI of SSMS, and I THINK, if you rename the jobs, or remove a step, or something like that, the steps of the maintenance plan essentially disappear.

Here's what I suggest. Create the maintenance plan and do not change anything. Then re-open it and make whatever changes you need. I do remember that

Thanks for the response John. I've heard similar, so I tried to eliminate as many of those variables as possible - this is a brand new MaintPlan I just built, basically for this test. Made the plan, saved it. refreshed the instance. Found the Sql Agent jobs, can see the maintenance plan (and others) when I look at the step. I can't see them in the GUI folder, and maybe I'm missing how to query them in MSDB, but it seems like they do not exist there either.
Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74743 Visits: 15284
rtrim(ltrim(' ')) - Thursday, November 8, 2018 2:28 PM

. Found the Sql Agent jobs, can see the maintenance plan (and others) when I look at the step.

That was the other question I originally asked as I also remember some odd issue where they don't display in the GUI.
If you are a sysadmin, a couple of other things to try would be see if running SSMS doing Run As Administrator makes a difference. You may also want to try restarting the Agent service.

Sue




Jeffrey Williams 3188
Jeffrey Williams 3188
SSC Guru
SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)

Group: General Forum Members
Points: 78282 Visits: 11305
Look in msdb.dbo.sysssispackages - this is where you find the SSIS packages that are loaded in the MSDB database. Not sure why they would not appear in the GUI - I have never seen that issue before...

Jeffrey Williams
Problems are opportunities brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs

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