No Jobs After Restoring Msdb.

Dec 12, 2002

I restored msdb on another server after moving all user databases and logins. I expected to see the jobs after the restore but I didn't.

I've read the article(Q314546) about moving databases and it indicates that you don't have to script them if you move msdb.

I didn't restore master. Only msdb.

Your thoughts please?

Sidney

View 3 Replies


ADVERTISEMENT

Restoring Msdb

Jan 24, 2002

Hi,

I am trying to build a test environment for our production server. I backedup and restored all my databases. I had to copy the jobs too, so I backedup and restored msdb database. When I try to change any of the jobs, I get the following message.

"Error 14274: Cannot add, update, or delete a job (or its steps or schedules) that originated from an MSX server."

I have no clue what this message is about. Can someone please provide me with some clues about how I can modify my jobs and get my test environment to work.

Thanks,
Rob

View 2 Replies View Related

Restoring Msdb

Apr 18, 2006

I need some data from msdb.dbo.sysjobs and msdb.dbo.sysjobhistory but I need it from a backup file.

I don't need to restore the msdb database, I just need some data from the backup. Everytime I try to restore it under some innocuous name like bills_db it tells me msdb is in use.

Is there a way to restore this db to some other name and retrieve data from it?

View 2 Replies View Related

Retrieving DTS Jobs From MSDB Backup

Dec 21, 2004

Our sysadmin accidentally uninstalled SQL Server started to panic and reinstalled. Thankfully the data/transaction files to our important databases were still present and I simply reattached them but our DTS packages our gone.

However, we've done weekly backups of the msdb database. How do I get the DTS jobs out of these backups?

View 1 Replies View Related

RESTORING MSDB FAILURE --- HELP PLEASE

Nov 10, 2000

QUESTION? ----!!!!!

I BACKED MSDB TO A DEVICE AND THEN RAN THE FOLLOWING CODE ON ANOTHER SERVER:


RESTORE FILELISTONLY
FROM DISK = 'd:mssql7ackupcomplete_bak.bak'
RESTORE DATABASE Test_MSDB
FROM DISK = 'd:mssql7ackupcomplete_bak.bak'
WITH MOVE 'MSDBData' TO 'd:mssql7datamsdbDATA.mdf',
MOVE 'Northwind_log' TO 'd:mssql7datamsdbLOG.ldf'

I get the following error: (Why are the logical and physical name referring to master database?)


LogicalName PhysicalName Type ...1
-------------- ------------------------- ----------- ...2 continued
master F:MSSQL7DATAMASTER.MDF D ...3 below
mastlog F:MSSQL7datamastlog.ldf L ...4



1... FileGroupName Size MaxSize
2... --------- --------- ----------
3... PRIMARY 11206656 35184372080640
4... NULL 1310720 35184372080640

(2 row(s) affected)

Server: Msg 3234, Level 16, State 2, Line 3
File 'MSDBData' is not a database file for database 'Test_MSDB'.
Server: Msg 3013, Level 16, State 1, Line 3
Backup or restore operation terminating abnormally.

-------------------------------------------------------------------------
QUESTION? -- WILL BACKING UP MSDB AND RESTORING IT TO ANOTHER SERVER MOVE
ALL MY JOBS AS WELL? IF NOT HOW DO I MOVE MY JOBS FROM ONE
SERVER TO ANOTHER?

View 1 Replies View Related

Restoring Master And MSDB To A New Server

Nov 10, 2005

I have a server attached to a SAN, all user db's are on the SAN, master, tempdb, and msdb are on the local machine. We will be replacing the machine (not the SAN) to a newer sql server. Our plan was to create the new server with same name, deattach current user db's,backup master and msdb, then connect new server with same name an IP to SAN. I then wanted to restore the master and msdb db's to the new machine, and attach the user db's. We are running log shipping to a stand-by server in this configuration. I was thinking I could let last tran log backup and copy occur, and then let the last restore happen on the standby. I would then shut down the agent. Should I not be able to restore the MSDB and master to the new server (as long as all file folder locations are the same) and be ready to go? Or are there issues when restoring the Master and MSDB to a new server from a different server.

View 5 Replies View Related

Needing To Restore Msdb To Another Server To Save Dts And Jobs

Dec 3, 2007



I have a sql2000 server that has failed
i moved the databases to another server


I am trying to restore msdb to another server is this possible in order to get the dts packets and the jobs

View 5 Replies View Related

Msdb.dbo.sp_delete_backup_history Causes DEADLOCKS With Log-Shipping Restore Jobs

Jan 28, 2008

Hi,

I have a weekly job that runs to execute msdb.dbo.sp_delete_backup_history on history older than 7 days on a server that is a log-shipping destination server. However, I have now noticed after putting a new deadlock alert, that this job causes RESTORE LOG jobs for all 6 of my log-shipped databases, which run every minute, to deadlock.

I am not concerned with the fact that the RESTORE LOG jobs are then chosen as the deadlock victims, as they will simply re-run in the next minute anyways.

What I would like to do though is to somehow lock all the tables being cleared by sp_delete_backup_history, so that the restore jobs are forced to wait or fail without causing a deadlock to appear. I was wondering if I could do this via setting the job which runs sp_delete_backup_history to use serializable isolation level, or would that cause other problems/issues? If not that, would setting the deadlock priority level to high prevent deadlocks, or just simply force the restore log jobs to be chosen as the victim?

The main thing is that I would like to stop being "annoyed" by the deadlock messages being generated.

Any comments would be appreciated.

Regards,
Diane.

View 2 Replies View Related

Restoring Msdb From A Network Tape Backup

Aug 25, 2007

I have inherited a SQLS erver 2000 instance where the client neverimplemented a backup startegy for the "master" and "msdb" databases.MSDB is now showing errors and my only option for a restore is from atape backup of the server.Any thoughts..

View 1 Replies View Related

Restoring MSDB Failed - Status Is Loading. How Do I Restore?

Sep 21, 2000

How does one correctly go about restoring the MSDB database?

How/what should I do with the status (loading)?

I have a good backup of the MSDB.

Any help will be appreciated.

View 2 Replies View Related

Unable To View Jobs Even After Adding Users To MSDB Roles SQLAgent...

May 20, 2008

Developers need to view and modify jobs on some servers without being sysadmin. We've added the developers to the following MSDB roles:

SQLAgentOperatorRole
SQLAgentReaderRole
SQLAgentUserRole

Technically they should be able to view and modify jobs through Management Studio when being added only to SQLAgentOperatorRole. However they receive the following error when clicking on the Jobs folder regardless of the msdb role.

Execute Permission Denied on Object 'xp_sqlagent_enum_jobs', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

Our original two SQL 2005 servers do not produce this message, but all other instances do. All servers, but one, are SP2 so the service pack is not an issue. Any thoughts?

Thanks, Dave

View 3 Replies View Related

DB Engine :: Restoring / Repairing (MSDB) Of 2012 Installed Copy?

Sep 16, 2015

Suddenly one day I found some corruptions have occurred in my SQL Server 2012 installation. Because my 'msdb' has been marked SUSPECT/CORRUPT; hence no new work can be done as per my schedules.

I have gone about trying to repair it. I followed this article here: [URL] [the region 'Create new MSDB Database'].

I am facing some sizeable difficulties in doing this on my own. Steps 1. & 2. I have done. I am now stuck at step no. 3.My instance name is SQLEXPRESS. So, when I give,

SQLCMD -E -S<SQLEXPRESS> -dmaster -Q"EXEC sp_detach_db msdb" [as per the article], what I get is:

The System cannot find the file specified.

So I am stuck at that point. What's with the 'cannot find file specified'? The stored procedure, or the mdf, ldf files for my msdb? What is it?Also, if and when I am through with step no. 3 I would like to know about steps 5. & 6. also which are soon to follow [like how to do them correctly, safely and from where, the different options]. This is a huge priority for me to get my sql server up and running again because I can't do my other coding works without it. Everything is stalled. Slowly reaching the desperation, SOS mode..

View 7 Replies View Related

SQL Jobs Calling SSIS Packages Within MSDB Not Referencing Connection Info In Config Files

Nov 13, 2007

I have deployed to production a number of nested packages (parent packages that call child packages) to the SQL msdb via the Save As option rather than building a deployment utility. These packages reference configuration files in a static location off of the c: drive on the production server. In the development environment, when connection changes are made and I run the Reload with Upgrade option the connection manager takes on the new server and user id settings. However, out on the production side I get the following error from the SQL job log:

Cannot load the XML configuration file. The XML configuration file may be malformed or not valid.

As a result the SQL job uses the default connection information which references the development database rather than the production database. I did research the error but found no good solutions. Is there a way to ensure the configuration files are formed correctly and that the packages are correctly referencing the configuration files? We are trying to run the ETL updates via a SQL job.

Any suggestions? Thanks.

T

View 3 Replies View Related

Is There Any Way Of Restoring Sql Server Agent Jobs

Mar 3, 2008



I have a few jobs in sql server 2005 agent that got corrupted that Iwould like to restore.
Do they get backed up and how can I restore them?

View 4 Replies View Related

Service Broker Is Disabled In MSDB Or MSDB Failed To Start

Nov 21, 2005

Whenever I start my SQL Express 2005 database, I get the following in the logs :

View 10 Replies View Related

Restoring Database Leaves Me With (Restoring...) Message

Jan 9, 2007

I did a full backup of a db from one server(Express2005) and trying to restore it to a different instance of SQL2005 on the same development machine. (Also had some fulltext columns if that means anything)

Many failures but finally got it to report all was successful except the icon in Object Explorer shows (Restoring...) with no indication of any real activity going on. It's a tiny database with hardly any data in it.

Just not sure what the heck is going on there. It also won't let me into the database until this the (Restoring...) goes away.



Any advice on how to get this thing finished out?

View 3 Replies View Related

Big Msdb ?

Jan 15, 2002

Hello
I have a very large base msdb, I do not arrive has to purify it with sp_delete_backuphistory, it is much too long, have another solution? thank you

View 2 Replies View Related

Msdb

May 10, 2001

Hi ,
I am facing a paculiar problem.I got some jobs scheduled in MSDB.They are running fine for some time. Yesterday when i tried to open the properties of a job from EM i am getting an error 'Select Into Bulk copy option not enabled'
Can anyone got this before? I appreciate if any one can throw some thoughts on this.
thanks in advancce
MM

View 1 Replies View Related

Msdb

Nov 6, 2000

I know that msdb is used to manage the job schedulers in sql server 7.0 ( job agent ). Does this (msdb) like other databases, where I can control its size, shrink it or expand it.

IF am backing up the msdb, and I errased all jobs scheduled in sql agen. Can I restore all the deleted Jobs by restoring the msdb.

Ahmed

View 1 Replies View Related

MSDB

Jun 15, 2000

Does anyone know how to fix this message?
Message: Could not insert a backup or restore history/detail record in
msdb.dbo.sysbackuphistory or sysrestorehistory.
I ran DBCC CHECKDB (msdb) and no errors were reported.
Thanks

View 5 Replies View Related

MSDB

Jun 6, 2002

Hi ,

I have a job called JOBA scheduled to run every 10 min.
Is there a way in Tsql that I can find out whether the job is currently running or not.Is there any table/field in msdb database that gives me the desired info.

TIA,
Kinnu

View 2 Replies View Related

MSDB Is Too Big

Dec 18, 2007

My MSDB is too big [about 14 GB]. When I closely looked all tables, here is what I found -

Top 3 biggest tables are -

sysmaintplan_logdetail - rows- 124923 - data - 13375456 KB
DTA_Tuninglog - 181658 rows - data - 163248 KB
sysmail_mailitems - records - 14227 data - 126208 KB

I am not a DBA, so if any one can explain in simple terms how I can cleanup this maintenance plan log detail without increasing the size of tempdb? How can I stop this database growing in the future?

I have only a gig of space left on that drive.

Thanks in advance

View 18 Replies View Related

MSDB Over 300MB!

Aug 19, 2002

I made a few changes to backup jobs. Within a few hours the MSDB grew to like 355MB. ANY ideas why this happened??

View 1 Replies View Related

MSDB Restore Help Please

May 12, 2001

I am trying to restore my msdb database after rebuilding my RAID, and reinstalling sql. I can restore my user databases fine, but my msdb gives me error 3132:
The media set for database msdb' has 2 family members but only 1 are provided. All members must be provided.

I really don't want to lose all my jobs, so any help would be appreciated. thanks.

View 2 Replies View Related

MSDB Problems

Feb 16, 2001

I have a problem with my MDSB database. After my nightly reboot, I received an error in my Lof File stating: Error 9001: Cannot file log device for msdb database. I looked and saw the msdblog.ldf, so I am alittle confused. I ran a dbcc checkdb, dbcc newalloc and dbcc updateusage on msdb, but I did not get any errors. I added an additional log file to try and fix it, but nothing has fixed it. I am perplexed because all my scheduled backups are failing.

Any additional advice would be helpful.

Thank you,
Jennifer Fleming

View 1 Replies View Related

Moving Msdb

Feb 29, 2000

I want to move the physical location of the msdb database on a SQL server. However I cannot drop the database with the drop database statement, even setting it to dbo use only and single user mode. I get an error message saying the database is in use. Obviously I do not want to reinstall the server. The reason I want to move it is because it is located in the default dir on the C: drive which is running out of space.

Any ideas.....

View 2 Replies View Related

Restore Msdb

Nov 13, 2000

hi, I already have jobs in the sql server agen. I want to copy all these jobs to another sql server, What is the best way to do it.
here what I am thinking to do
1. Back up the msdb from the sql server which has the jobs
2. restore msdb into the sql server where I need to create the jobs.


I got an error message, 15089 cannot change the 'single user' option of a database while another user is in the database.

But no one is in except me.? thanks for your input

Ahmed

View 5 Replies View Related

Msdb Full

Mar 20, 2000

Problem with Msdb
error 1105 can not allocate space in sysbackupdetail.
msdb has 1.0MB of database space available and 1.97MB of log space.
I intended to expand the database but must first expand the device. the available space for the device is -703. So I can not adjust and expand. Any ideas. My hourly dumps appear to be functioning if you view them ny expanding the device but tasks show them as failing.

View 2 Replies View Related

Msdb Restoration

Dec 7, 2000

Hi !

when i am trying to restore MSDB database from a disk backup it is giving an error saying
"Database in use.System administrator must have exclusive use of the databse to run the restore operation".
But i am not using msdb anywhere.when i see the processes under current activities i see an application named sqlagent-alert engine using the database.even after killing this process it reppaears and stops the restore operation.
so i stopped sql server agent and did the restore operation.It worked.
so is it necessary to stop sql server agent while restoring msdb?may i know the logical reason for it?

View 1 Replies View Related

Permission On Msdb

Feb 8, 2001

How would you set up a task run by user without sacrificing the alias permission on msdb (SQL 6.5)?

Situation:
I have set up a task for runing replication by a user with the alias permission on msdb in order for the user to run the task. And I do not want to grant the alias permission to the user for the security reason. But if I set it up by granting only the sp_runtask permission to the user on msdb I always got the message like "You cannot perform this action on a task you do not own."

Please share your workaround. Thank you ahead of time

View 2 Replies View Related

DTS Tables In MSDB

Apr 3, 2003

Hello,

Can anyone tell me what tables are used to store DTS defs? When you create a DTS job, where does it get saved?

Thanks!

View 1 Replies View Related

MSDB Problem

Oct 27, 1999

when I am trying to restore a database from a dump device (device is mapped to other server) the following error occurs.

I tried doing checkdb and newalloc on msdb but it din't work.
Is there any problem if I truncate MSDB?

ERROR:
Could not insert a backup or restore history/detail record in msdb.dbo.sysbackuphistory or sysrestorehistory. This may indicate a problem with the MSDB database. DUMP/LOAD was still successful. (Message 3009). NOTE: The task was retried the requested nu

View 2 Replies View Related

Sysbackupdetail In MSDB

Aug 30, 1999

The sysbackupdetail table in the MSDB database at our SQL6.5 installation has grown to over
50,000 rows, since we back up 25 databases every day. I've enlarged MSDB once because
of a space problem, and I'm wondering whether I can just delete the older entries in this table
to prune it, without dire consequences. MSDB has other history tables, and I'd like to handle
them all the same way.

If I mess with these tables, will the sky fall on me?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved