473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Backup/Restore locks up EM

When I am trying to use backup or restore from the EM, a dialog box
never pops up, and the EM interface locks up. Has anyone else had
problems like this? Looks like all other functions from EM are
working fine.

Thanks,
Dave
Jul 20 '05 #1
9 2751

"Dave" <no****@nospam.com> wrote in message
news:qe********************************@4ax.com...
When I am trying to use backup or restore from the EM, a dialog box
never pops up, and the EM interface locks up. Has anyone else had
problems like this? Looks like all other functions from EM are
working fine.
Yeah I've noticed that. Not sure if the latest SP fixes that or not.


Thanks,
Dave

Jul 20 '05 #2
Dave (no****@nospam.com) writes:
When I am trying to use backup or restore from the EM, a dialog box
never pops up, and the EM interface locks up. Has anyone else had
problems like this? Looks like all other functions from EM are
working fine.


The obvious workaround is to learn the syntax for BACKUP and RESTORE
and run them from Query Analyzer...
--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #3

"Erland Sommarskog" <so****@algonet.se> wrote in message
news:Xn*********************@127.0.0.1...
Dave (no****@nospam.com) writes:
When I am trying to use backup or restore from the EM, a dialog box
never pops up, and the EM interface locks up. Has anyone else had
problems like this? Looks like all other functions from EM are
working fine.
The obvious workaround is to learn the syntax for BACKUP and RESTORE
and run them from Query Analyzer...

Except, that doesn't solve the problem he's referring to. Or at least the
one I'm having.

I have a restore job that runs each day (basically takes a backup of one
server and restores it to a 2nd).

Takes 4-5 hours. I've discovered that during the restore, SQL EM just won't
respond. I think somehow the select statement it must be doing in the
background to get the list of databases is being blocked by the RESTORE.
(actually thinking about this, I'm pretty sure this IS the case since I
remember figuring this out via sp_who2).

I haven't seen this problem with the BACKUP statement (which makes sense
since the DB is online during a backup. :-)



--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Jul 20 '05 #4
Dave wrote:
When I am trying to use backup or restore from the EM, a dialog box
never pops up, and the EM interface locks up. Has anyone else had
problems like this? Looks like all other functions from EM are
working fine.


Could this be your problem?

http://support.microsoft.com/default...;en-us;Q319246

Ian.
Jul 20 '05 #5
Greg D. Moore (Strider) (mo****************@greenms.com) writes:
I have a restore job that runs each day (basically takes a backup of one
server and restores it to a 2nd).

Takes 4-5 hours. I've discovered that during the restore, SQL EM just
won't respond. I think somehow the select statement it must be doing in
the background to get the list of databases is being blocked by the
RESTORE. (actually thinking about this, I'm pretty sure this IS the case
since I remember figuring this out via sp_who2).


This does not sound right to me. I did a quick test on our development
server, and ran Enterprise Manager against that server without a problem.
I could even expand the node for that database. When I started to look at
objects, I did of course get an error message, but EM never stopped
responding. True, this was a two-minute restore, but I can't see that the
length would matter.

Could you give more details? Do you see blocking in Query Analyzer
with sp_who when it happens? In such case what does DBCC INPUTBUFFER say?

--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #6

"Erland Sommarskog" <so****@algonet.se> wrote in message
news:Xn********************@127.0.0.1...
Greg D. Moore (Strider) (mo****************@greenms.com) writes:
I have a restore job that runs each day (basically takes a backup of one
server and restores it to a 2nd).

Takes 4-5 hours. I've discovered that during the restore, SQL EM just
won't respond. I think somehow the select statement it must be doing in
the background to get the list of databases is being blocked by the
RESTORE. (actually thinking about this, I'm pretty sure this IS the case
since I remember figuring this out via sp_who2).
This does not sound right to me. I did a quick test on our development
server, and ran Enterprise Manager against that server without a problem.
I could even expand the node for that database. When I started to look at
objects, I did of course get an error message, but EM never stopped
responding. True, this was a two-minute restore, but I can't see that the
length would matter.

Could you give more details? Do you see blocking in Query Analyzer
with sp_who when it happens? In such case what does DBCC INPUTBUFFER say?


I'll have to try it again tomorrow if I get a chance, but as I recall, it's
during a restore of a DB to our SQL 7.0 server.

And it may only be the first time EM is opened.

Like I say, it's strange, but hasn't been a big enough problem for me to
investigate beyond the original problem.

And yes, I did a sp_who2 active and found the blocking SPID. A DBCC
INPUTBUFFER on the spid showed the restore.


--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Jul 20 '05 #7
Greg D. Moore (Strider) (mo****************@greenms.com) writes:
I'll have to try it again tomorrow if I get a chance, but as I recall,
it's during a restore of a DB to our SQL 7.0 server.
And EM is SQL2000 or SQL7?
And yes, I did a sp_who2 active and found the blocking SPID. A DBCC
INPUTBUFFER on the spid showed the restore.


I was more interested in what the blocked spid was up to.
--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #8

"Erland Sommarskog" <so****@algonet.se> wrote in message
news:Xn**********************@127.0.0.1...
Greg D. Moore (Strider) (mo****************@greenms.com) writes:
I'll have to try it again tomorrow if I get a chance, but as I recall,
it's during a restore of a DB to our SQL 7.0 server.
And EM is SQL2000 or SQL7?
And yes, I did a sp_who2 active and found the blocking SPID. A DBCC
INPUTBUFFER on the spid showed the restore.


I was more interested in what the blocked spid was up to.


Ah good point. I THINK it was doing a select against the sysdatabases
table, but I'll have to check later today.



--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Jul 20 '05 #9

"Greg D. Moore (Strider)" <mo****************@greenms.com> wrote in message
news:HS*****************@twister.nyroc.rr.com...

"Erland Sommarskog" <so****@algonet.se> wrote in message
news:Xn**********************@127.0.0.1...
Greg D. Moore (Strider) (mo****************@greenms.com) writes:
I'll have to try it again tomorrow if I get a chance, but as I recall,
it's during a restore of a DB to our SQL 7.0 server.
And EM is SQL2000 or SQL7?
And yes, I did a sp_who2 active and found the blocking SPID. A DBCC
INPUTBUFFER on the spid showed the restore.


I was more interested in what the blocked spid was up to.


Ah good point. I THINK it was doing a select against the sysdatabases
table, but I'll have to check later today.


Ok, finally remembered to do it.

The SPID doing the restore:
RPC "master"."dbo"."restore_foo" -- no real surprise here. this is the
stored proc doing the work.

The blocked SPID from SQL EM (2000) against the DB (SQL 7.0)

select name, DATABASEPROPERTY(name, N'IsDetached'), (case when
DATABASEPROPERTY(name, N'IsShutdown') is null then -1 else
DATABASEPROPERTY(name, N'IsShutdown') end), DATABASEPROPERTY(name,
N'IsSuspect'), DATABASEPROPERTY(name, N'IsOffline'), D




--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp


Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tim Morrison | last post by:
MSDE2000 I have an application in which I am running a TSQL command of BACKUP DATABASE and RESTORE DATABASE for the backup and restore commands for my application. For testing purposes, i did the...
1
by: R Camarda | last post by:
Help, I have a database that has a data file of 2GB and a log file of 31GB. In enterprise manager, when I choose shrink it says there is 30GB of unused space. When I shrink the database, it does...
1
by: Rajesh Kapur | last post by:
I have about 20 databases in a single MySQL instance running 4.0.21 on RHEL3. I have a healthy mix of MyISAM and InnoDB tables. Howerver these two types do not mix within a single database. A...
2
by: Vikrant | last post by:
Friends, I have read DB2/UDB 8.x 'RESTORE DATABASE Command', with my 'limited' knowledge & skill. I think it should address my concern, but I want advice/ opinion / experience and any care I...
6
by: Eric Herber | last post by:
I've a question regarding db2 (V8.1) and database backups going to a storage manager like TSM for example. As I can see in the storage manager if I backup the complete database over the TSM API...
4
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but...
2
by: Trent | last post by:
Hello, all. I have the following production DB2 environment. DB2 8.1.4 (fp4) WG edition with 2 production databases on Windows 2003 standard edition. My first question is regard with...
0
by: raj.raghavan | last post by:
Hi, I have a database were all the indexes are in a seperate filegroup a few large tables are in a seperate filegroup. We take backup at different times and I have backup of primary, two filegroup...
5
by: smoi | last post by:
Hi all, My manager ask me to do backup for 3 database and restore them in a new server. I did the backup for the 3 database into BAK file. Then in the new server, when I did the restore in SQL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.