Help - Recovering A Deleted Job
Jul 20, 2005
Any ideas how I can recover a job that has been deleted (?) from SQL
7.0 ? We had one which was used on a regular basis which has now
ceased to exists. I've spoken to the people responsible for the server
and was met by blank faces (as usual). They have no idea when it was
deleted, by whom or when. To make matters worse, they don't think they
can get it off the backup set without a major bit of work to the
server. Suprisingly, none of the users noticed that things had stopped
working.
Unfortunately, I needed to do some work on this in preparation for my
monthly meeting with my boss on Monday. Whilst I'm not to blame, I'd
like to understand a little more about any options available to us for
recovery as he will undoubtedly ask when he finds out.
I have an old back up on another server, so it's not the end of the
world re-creating it, but I was under the impression it was backed up
properly. Is this normal or have they missed something ?
Are there any ways I can recover this ? What can I get done to the
backup to make sure this is backed up properly ?
Thanks in advance.
Ryan
View 1 Replies
ADVERTISEMENT
Aug 2, 2007
I accidentally deleted at SQL 2005 database. Is there any way I can get it back? No, there is no backup.
View 6 Replies
View Related
May 14, 2001
We occasionally use TruncateTable to delete the contents of a number of tables on our SQL Server 7 database. We then build them anew from an outside source. I am finding that the size of the database (and corresponding backup file) has grown significantly. As I understand it, the space representing the deleted records is retained by the database. I have investigated using various DBCC commands, to no avail. Does anyone have a clue as to how I can recover this lost space? ... Thanking you in advance.
Mike Rosen - Amalgamated Bank
View 3 Replies
View Related
May 18, 2000
Can anyone give me assistance on trying to restore my master file. I purposely corrupted my dabase on my test box so that I could work on my recovery process. However, during one of the steps I used the:
restore database Master From
disk= 'c:mssql7ackupmaster.bak'
Command. However, I continue to recieve:
Server:Msg3201, Level 16, State 2, Line 1
'Cannont open backup device 'c:mssql7ackupmaster.bak. Device error or device off-line. See the SQL Server error log for more details.
Note I am in single user mode and I have not been able to find anything specific in the error log file.
Can some tell me what possible could be the problem. Thanks.
View 3 Replies
View Related
Apr 6, 2000
Any ideas on how long it should take SQL Server 6.5 running on a 8 Gig RAID 0 array to "recover" a 4 GIG database. I rebooted the machine this morning (seldom ever have any problems with it) and it seems to be taking an awfully long time (15 min so far). I'll let you know what happens in any case.
View 2 Replies
View Related
Jun 1, 1999
is it possible to recover an existing SQL server? Here is what happened. WNT server 4.0 was corrupted, had no backup, repair did not work. consequently, i had to reformat the C drive and do a clean install of the OS.
my SQL files and user databases were on other drives. can i do a install of SQL server and tell is were the SQL server files (ie., the MSSQLDatamaster.db) are and have it use those files? given that this problem occurred as i tried to backup my SQL server database.
hope you can help or my butt is burned!
View 4 Replies
View Related
Nov 16, 2001
We are having major hardware replaced on our W2000 Adv Server and we
need to be prepared to restore the entire system.
If the hardware fix goes badly, worst case, the plan is to
rebuild the server and then REINSTALL SS7 and
then restore all the databases from tape backups.
My question is, which database(s) should we restore first?
Should we restore master and then proceed to restore the user
databases or restore the user databases first and restore master last?
Thank you in advance.
View 1 Replies
View Related
Nov 17, 1999
Help !!!!
How would you fix these two problems.
1. On the window of Enterprise Manger and under the databases, the database shows one of the databases like this manag_dat(recovering)rather than manag_dat. (manag_dat is the name of the database). What could cause the probem and how to fix it?
2. Same position as above, but instead it shows manag_dat (loading). I tried to delete its device and the database. it hang. How would it happen and how to fix it?
Thank you ahead of time
View 2 Replies
View Related
Mar 15, 1999
I need to recover a database, but unfortunatelly i donīt have any backup... Well, it was not my fault. Anyway, i only have the physical .DAT files of the data and log devices of the database.
Will it work if I create two devices with the same name as the old devices, create a database with the same name as the old database within these devices and then run a full script of my old database, then change the 'phy_name' on the sysdevices to point to where my old dats were, or replacing the current ones with the old ones? If not, will anything else work?
Thanks in advance.
View 2 Replies
View Related
May 3, 2004
My server crashed i had full back up my .BAK file for every database and i reinstalled a fresh verion of sql server 2000 enterprise and when i comme in enterprise manger to restor the master its telling me i need to be in single user mode what do i do.
View 2 Replies
View Related
Apr 30, 2007
Hi,
I am working on SQL Server Business Intelligence Development Studio - 2005. While working on the same, the studio got closed automatically and I was not able to save my existing file.
When I try to open the last saved file, it is thowing the following error:
Deserialization failed: The element 'QueryParameter' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition' has incomplete content. List of possible elements expected: 'http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition:Value ##other:*'. Line 277, position 12.
EDIT CODE
Now I am not able to open the file. Please let me know how can I recover the lost file.
Regards
Syed
View 1 Replies
View Related
Aug 17, 2006
I saw the other thread that is related, but let me give you our circumstances. A drive failed and that drive had the SQL installation and the *.ldf files on it. The MDF files were unscathed.
The drive has been rebuilt and I have reinstalled SQL 2000 SP3A on there (that is what was there before). I have tried attaching the MDF through the GUI and letting it create the log for me. This failed.
I tried sp_attach_single_file_db, but this failed since the db was never dettached.
I tried creating the db again, dettaching it, copying the old (good) MDF file over the newly created one and then attaching (using multiple attach approaches). It knows that the log file and mdf are not matched and won't let me do the attach.
I also found DBCC REBUILD_LOG, but the article in SQL Mag supposes that your instance is still in working order and that there is an entry for the db in sysdatabases. Such is not true in my case.
Can you help? We are trying to get old backup tapes shipped to the site, looking up our Gold Partner contact info, etc., but in the meantime, I am trying to get the data restored even if we lose some transactions.
Thanks for any help!
View 4 Replies
View Related
May 31, 2000
1) How do I reinstall a fresh copy of the MSDB database (since my current
one is corrupt). Is there any script available?
2) What is the purpose of the MSDB database? Backups and jobs/ Wizards?
Thanks for your help.
Ziggy
View 2 Replies
View Related
Feb 2, 2000
Our database -SQL Server 7.0 sp1 (NT 4.0 sp5)- is growing at a very fast rate despite the fact that we are deleting old record. It doesn't seem to be recovering disk space for the deleted records. Please let me know if there is a specific setting that can help us recover disk space. )
View 1 Replies
View Related
Mar 9, 2000
I have a 3GB DB that I was running an update script on. The sript failed and ran out of transaction log space. I expanded it and stopped and restarted SQL. The user DB is now marked as recovering. How long should I wait for it to recover? I don't want to have to restore again and start all over with my script. Please help.
(By the way this is a restored DB)
Thanks.
LC
View 1 Replies
View Related
Nov 25, 1998
Hi,
Bit of a panic here.. Someone accidentally deleted a database device (and
consequentially the associated databases) from MS Sequel 6.5. I don't have a
backup dump of the databases.
Does anyone know how I restore the device? I have the DAT file and I can
see the data in it if I use a text editor.
Thanks
Jonathan
View 1 Replies
View Related
Oct 9, 2001
Is there any way to recreate SQL2k cluster recources after someone removed them, which is is quite easy to do in Clustermanager?
We are running testscenarios at the moment with SQL2000Adv on Win2kadv servers. We assume a situation where someone at a client site accidentaly removes one or more of the SQL cluster receources in clustermanager. We can easily re-create the recources manually, but they will not come online. Of course it is always possible to re-install SQL2k on the nodes, but after "accidentaly" removing recources even that seems to be a pain, as the sql2k installer will not uninstall properly or reinstall/overwrite. Usually we get both nodes back up and running after running the uninstaller, cleaning up the registry and reinstalling SQL2k with the previous virtual (sql)server name and all the previous settings.
There must be a more efficient and reliable way to recover from this type of "usererror", but neither technet nor any other site seems to mention anything on a situation like this.
Any thoughts?
Alexander
View 3 Replies
View Related
Aug 28, 2007
Hello
(SQL Server 2000)
I have databases that appear as "Suspect" in the Enteprise Manager. What can I do to recover them or put them in a normal state?
Thanks a lot.
View 2 Replies
View Related
Jan 10, 2008
What is the most effecient way to recover a SQL 2000/2005 database to a different server.
View 1 Replies
View Related
Jul 9, 2007
Is there any way to get the deleted records from LDF or MDF file. Today by accidentally I executed one query and that dropped my table Inbox(table name only) from database. And in that table there was more 4,000 records, all these lost. So anybody can help me how to recover this table records?. Is there any way to get these?
I don't have any backup for this table.
shaji
View 3 Replies
View Related
Nov 16, 2007
Hi all
I'm a newbie with SQl Server But somewhere i read that SQL server Data can be Recovered through *.LDF files
now i want to know if i open a table in Enterprise-Manager and delete some records through DELETE statement or
manually, is it possible to recover those deleted records or not? if so how?
Thanks in advance.
Regards.
View 4 Replies
View Related
Jul 20, 2005
I was trying to relocate my transaction log to a bigger drive usingsp_movedevice but I made a mistake in the syntax of the second parameterand put only the path, not the path and the file name.Now my database is marked as "suspect" and I get an error message in my logupon database start up saying that the log file cannot be open.Is there a way to have MS SQL 6.5 "forget" all the logs of this database,create new ones and restart the database? The logs contained nothingimportant, I had truncated them an hour or so before I made my mistake. Ijust want to make sure the data are still usable.When I look at the devices with sp_helpdevice, I can see a log that existand is hopefully in pristine condition and the one that doesn't existanymore.I looked in the archives of various newsgroups but couldn't find somethingthat correspond closely to my situation. I saw something similar but withMS SQL 7.0(http://groups.google.com/groups?hl=...om %26rnum%3D4)using sp_attach_db/sp_detach_db. What would be the equivalent with version6.5?Thanks!Charles--Charles-E. Nadeau Ph.Dhttp://radio.weblogs.com/0111823/
View 8 Replies
View Related
Sep 21, 2006
I am in a big trouble ,
accidently i have issued a DROP DATABASE XXX command in the sql client, thinking its a local server....... The whole 4 months of database database is now dropped.
Please help me , how can i recover the database ....
thanks in advance
View 1 Replies
View Related
Nov 23, 1999
What should I have done? Is there anything that can be done other than restoring from backup?
How does one know if the database is really recovering or is EM just joken? I can wait 2 hours
before starting the restore
I was BCPing 12 million rows into a staging table. II used the '-b' option every 20K which I thought
would do a commit and clear the log in batches. After the process EM appeared to show the transaction log
as empty. Upon inspecting the Bcp output file I discovered the message that the BCP did not complete
because syslogs was full. I could not do a truncate transaction log or a dump database. I tried to
do a truncate transaction with no_log and it appeared to just hang. I stopped the SQL Server thinking
I could dump the transaction log, but could not start the Sql Server again. I then stopped the NT Server
because 'if all else fails'. The SQL Server started but the user database if marked as recovering.
View 5 Replies
View Related
Feb 14, 2002
Just upgraded a users computer from 7.0 to 2000. All previous SQL Server Registrations are gone IP Addresses, User Names and Passwords arent readily availiable. Are the old connections stored in a DLL or Ini that I can place in the SQL 2000 folder to regain those or do I need to recreate some DSNs?
Help
Matt
View 2 Replies
View Related
Mar 27, 2008
We currently have a company program in foxpro which inputs all of our information into its database. We are trying to shift from this to new updated software and a SQL database. There is a program we created which converts all the data from our old database into our new SQL database in preparation for our final move to the newer software. However, some of the tables in SQL were not taken directly from our old database but rather added in directly after our initial use of SQL, so when we ran our conversion software, a couple of specific tables were wiped because there was no equivilant within our old database. We already altered our conversion program to not touch those tables again, but is there any way to do a roll back or to find a backup of specific tables?
View 4 Replies
View Related
Aug 17, 2006
I'm having some deadlocking issues in my ASP.Net 2.0 web application with SQL Server 2000. One solution I've come across involves catching the the deadlock error (at the application level) and then retrying the query again, in the hopes that whatever was causing the deadlock is no longer locked.
I've tried to implement such a solution, where I catch the deadlock exception, then try to execute the same query again. Only now I'm getting a "The transaction is in doubt" exception.
So am I going about this wrong? Am I supposed to retry the entire transaction, or is valid to just try to redo the one query that it failed on? Is there some way around the transaction being in doubt?
View 1 Replies
View Related
Feb 28, 2008
I have a mirred database and have snapshot created from the mirroed database. I can do data selecting from the snapshot. But when the pricipal server is down , I can re-active the mirroed database.( I did succesfully upto this). Then I need to restore the database from snapshot and which failing with following error message.
Code Snippet
Msg 5123, Level 16, State 1, Line 3
CREATE FILE encountered operating system error 3(error not found) while attempting to open or create the physical file 'E:sql_datadevitst_mirrorlog st_mirror_log.ldf'.
Msg 5024, Level 16, State 2, Line 3
No entry found for the primary log file in sysfiles1. Could not rebuild the log.
Msg 5028, Level 16, State 2, Line 3
The system could not activate enough of the database to rebuild the log.
Msg 3013, Level 16, State 1, Line 3
RESTORE DATABASE is terminating abnormally.
View 3 Replies
View Related
Jan 5, 2001
while recovering it prompts a message 'the system administrator must have exclusive use of database to run the restore operation'.
now,how to do it?
how to make database to use exclusively when it is connected to an web based aplication.
thanks.
View 1 Replies
View Related
Jan 25, 2008
I have a database that is set to Full recovery model, I would like to switch to simple. I must perform some procedure before doing so?
The size of the transaction log is very high in this database, I would like to decrease it before moving to simple, have a problem doing that?
Thank You,
Ralph Haddad
View 7 Replies
View Related
May 9, 2007
A friend of mine called and said that his database was suspect and he detached it and was unable to attach it. The SQL Server Version is 2000 with the latest service packs installed. When I checked it the database (MDF) size was 1MB and the LDF size was 3.8 GB. I was not able to attach the two together and I was not able to attach the database using sp_attach_single_file_db. I did find an old backup of his database and attached that so he can work off of it but it is 1 yr old and he needs recent data. Since the MDF seemed to be blank we cant do much with that, but there seems to be data in the LDF. Is it possible to extract any data from the LDF file?
Sunny
View 1 Replies
View Related
Oct 16, 2007
Hello,
I was coping database from my sql server 2005 to the same server but with different name. 4 steps completed successfully but the last step failed because the computer on which sql server is running turned off unexpectedly. When the server was running again, the source database was detached. I tried to attached it but sql server is reporting error 5 (system cannot access the specified file) I cannot access the file from windows explorer too. I discovered that the copy of the mdf file exists with the name of the target database but when I try to attach this new mdf file sql server reports that the file is not primary database file. Both files are the same size. What can I do? Thanks
View 8 Replies
View Related
Mar 7, 2008
Hi all,
I am in a situation where some reports were developed by a colleague who left the company.
The reports were published on the server but since the code behind the reports was deleted inadvertently.
We don't have documentation about them.
My questions are:
is there a way to recover the source code?
is there a way to produce a report showing a list of the reports and the underlying data straucture/stored procedure, even in cases where the RDL is missing (i.e. from the published report)?
Many thanks in advance
Massimo
View 9 Replies
View Related