SMO Recover DB
Feb 2, 2007Is there a way to recover the database without defining a device to restore from?
Restore Database TestDB With Recovery
MTmace
Is there a way to recover the database without defining a device to restore from?
Restore Database TestDB With Recovery
MTmace
Hi,
By mistake i've damaged my .mdf file and i have no backup on this database . However i have the transaction log intact and an older version of the database .
Is it possible to recover the database using the transaction log? How can it be done?
I do not have the transaction log backup, just the .ldf file.
Thanks to anyone who can help me.
How do I begin? I had previously installed the SQL Server 7.0 with NT Authentication and everything was fine until I Rename domain Name and Computer name. I decided to uninstall SQL Server, and then reinstall it.
From this action unable to see my database in enterprise manager. I Rename old domain and computer name again. and reinstall with Upgrade Version. but still same effect. Can anyone help? What do I need to do to get my database to work again? Any input on this will be appreciated. Thanks in advance.
I had MS SQL installed on my comp.I had to reformat my hard drive due to some problems.There was a db in the sql server which i needed.So i saved the .mdf & .sdf files.Then i installed sql server in the formatted hard drive & pasted the .mdf & .ldf files in the Data forlder in MSSQL folder.But the problem is that even after doing this the enterprise manager doesnt show that database.Can anyone help me with this?Is there any way to recover the database?
Thanks a lot
P.S.- I also have whole of the earlier MSSQL folder present in the earlier program files backed up.Would that help in anyway.
Hello, everyone:
A guy think that the DTS packages can be recoved by restore MSDB database. Is that true? Does anyone have experience on that? Thanks.
ZYT
Hi
I've had a powerfailure, that resulted in I had to scratch my DB server, I've managed to get all the .mdf and .ldf files from the server. On the new server I get a "Error 823: I/O error (torn page)" when I'm trying to attach the .mdf file to the New server.
Both the new and the old server is a win2003 with SQL 2000 SP3
Is there anybody who knows how I can recover the DB?
/Rune
Hello,
Is it possible to restore a SQL 2000 database with data from a transaction log?
I am not sure what happened to my database, all the data in the tables is gone. I generated a db script to create a duplicate database. I saved the .sql file on my local machine, separate from the db server, renamed the database name in the .sql file to a new database. Tested script in query analyzer for syntax, all was fine. Running it at this point would have created a new database with a different name, right?
Now my original database is empty. Can someone please provide me with information on getting my data back. Is there a way of using the transaction log to recover the data.
Thanks
I have changed the roles of primary and secondary servers due to server failure.
Can anyone advise how to revert back to previous main server? Are these any links available?
Hi
I need help to recover database from its MDF & ldf files as my server crahsed today .
BTW i installed afresh copy of MS SQL 7.0
I need to be able to restore the database. Pls reply if
you can help. It would be greatly appreciated.
:( :confused:
is there any way to recover a database? I accidently drop my database .I don't have any backup.
View 5 Replies View RelatedPaul,
Having read your useful insight into the sorts of issues around the corruptions that folk have posted in this forum I'm interested in preparing for the day when one of our servers gets corrupted :-(
Should I expect to be able to:
Restore FULL backup from Before the corruption first happened
Restore all Tranaction log backups since
and would get me back to ground zero?
I'm thinking:
if I do a DBCC CHECKDB once a week, say, immediately after a FULL backup - then if that gives me some error messages I've got last weeks Full backup and a weeks worth of Trans Log Backups to restore - which is OK for a rare disaster.
I apprecaite that the thing that caused the corruption might be a memory or disk fault, which might also have broken the creation of the backup files too - in which case I'm fairly stuffed!
Does a RESTORE do a checksum of somesort that would detect a corruption caused by, say, a memory fault or a disk controller that wrote the block faultily [twiddled some bits, but did not report error]?
In which case continuous restores of backup files to A.N.Other server would discover the moment at which a backup was "known bad"
Am I close?
Thanks
Kristen
I am using sql server7.0
I want to know how to recover pubs and northwind data bases in case they are deleted.
Gajanan Kulkarni
raju writes "while attaching the mdf file we are getting the following error
error 823
i/o error (bad page id) detected during read at offset
0x0000001404000 in file d:filename"
OS: Windows 2003 Standard Edition
MS SQL: Standard Server 2005
I am looking to implement a disaster recovery plan for an MS SQL 2005 server, this is what I have done so far but would like the benefit of your experience to provide feedback and help improve the strategy.
MS SQL Server:
I have two maintenance plans, one to backup the system databases to individual backup files (.bak) and one to backup all the user databases to a backup device (mssql_backup) The backup files & device are in a directory (backup) and is backed up using NFS. I keep a copy of the backups on a USB HD which is stored offsite.
Disaster:
Office burnt down
Recovery:
New server, install OS/MSSQL, patch up to same version as burnt server.
Copy .bak files to new server, copy mssql_backup file to same location as previously held i.e. X:ackupmssql_backup
Start MS SQL in single user mode, restore master database using .bak.
Start MS SQL in normal mode, restore other system databases using .bak
Restore user databases using mssql_backup device
Testing:
Using the above steps I was able to restore up to the point of "user databases" Getting to this point I realised that there are a number of databases to restore, in my novice ways this seems to be a lot of right-clicking and restoring.
1) is there a command that would in effect be able to restore all databases using the backup device?
2) do I have a working version of the databases to the point of the last backup? Or am I missing something?
3) in my current setup in mind (SQL backup to NFS directory and picked up my backup software) is there a 'better' way I could be doing this which would make the restoration procedure more efficient
how can i recover sqlserver 6.5 datbase from tape.
pls help me?
Hi,
View 12 Replies View RelatedHi all,
Is it possible to recover or find the password of database or resetting is the only option? I have a database that has a two users in the Users tab. How to find out the password for these?
Thanks,
Hi,
By mistake i've damaged my .mdf file and i have no backup on this database . However i have the transaction log intact and an older version of the database .
Is it possible to recover the database using the transaction log? How can it be done?
Thanks to anyone who can help me.
Hi,
Some times my laptop will hang for some reason and i will have open few sql 2005 query editors working with scripts. I am loosing them if i restart my system. Is there any way to recover the previous instance of my sql 2005 query editors after restarting my system. Please let me know if yo have any idea to handle.
Thanks
Dilip
Hi All,
Accidentally I have dropped a table and that is the main table for my application.
I dont have a backup of it. Is there any way to recover it.Please help me guys.
Thanks,
Kumar.
Hello,
I have some procedure in SQL Server 7.3 they are
working fine. Now my SQL Server is not working that is
it not opening Query Analizer or any other tool
in SQL Server ok.
I have no back of my procedures which are written
in SQL Server any where like in notepad or in some
places.
Now i have a plan to load Sql server again
but i want my old procedures before loading
Sql Server again.
How to do it?
How to restore my procedures?
Where actually SQL Server stores these procedures?
I searched in my system with my procedure name but it
shows nothing with those names.
In my case there is no chance of recovering my old SQL Server
i have load again SQL Server.
So kindly help on this issue asap.
thanks
One of our developers just deleted a ton of records- is there any way we can recover this data? (we can't use a backup since a ton of changes were made since we last backed up)
Thanks-
Jack
Hi all:
In order to test database restore, I create a backup driver and puporse delete one table, then I try to restore my databse use backup, but the delete table donot show up.
Thank you
Hi Guys,
Ive accidently gone and deleted a snapshot agent off a working publication (tables distribution.dbo.mssnapshot_agents, msdb.dbo.sysjobs etc).
Is there a workaround to create a new snapshot agent for the publication without having to break or recreate the publication?
I have tried adding a snapshot and only to fail, can anyone help? thanks a million
---*** Tried adding a snapshot agent ***---
use publishing_database
go
-- Add snapshot job
exec sp_addpublication_snapshot @publication = N'publication_name',
@frequency_type = 4,
@frequency_interval = 1,
@frequency_relative_interval = 1,
@frequency_recurrence_factor = 0,
@frequency_subday = 8,
@frequency_subday_interval = 1,
@active_start_date = 20040101,
@active_end_date = 20040101,
@active_start_time_of_day = 0,
@active_end_time_of_day = 235959
GO
-- RESULT:
Server: Msg 14101, Level 11, State 1, Procedure sp_MSaddpub_snapshot, Line 73
The publication 'publication_name' already has a Snapshot Agent defined.
I want to know what to do to recover the deleted records on a specific table. Unfortunately, the dba was unable to activate Trace feature and I am not familiar in using the transaction logs to retrieve data.
please help. :confused:
Hi everyone
Is there any way to recover all deleted records.
By mistakes i deleted all records.
Please help me out
Waiting for reply.
Thanx in advance
Dear All,
Can any one tell me how to recover the DTS Package from SQL Server 2000.
The package has different versions, when i tried to edit that version i can see only an empty screen. Is there any way that we can get the related physical file ? How can this physical file be used for restoring the package ?
Please tell me Is there any other alternatives to get the DTS Package back.
Thanks In advance...
Unfortunately I dropped my table in sqlserver. How to I recover that table?
View 3 Replies View RelatedI wrong delete all contents of a table.
I was going to restore the full backup database but the file is corrupt.
I have:
The last 5 days backups of Transaction Log;
The actual Transaction Log;
Can you please give me any ideas of how to restore de transaction logs backups and/or uncommitted de deletion of all rows of the table.
Thanks,
Paulo
I can recover all type of ms sql server database losing.please contact me at cn9526@163.net
View 2 Replies View RelatedHello, everyone
If I don’t have any backup for SQL Server 2k on Win 2k, how to recover the deleted tables and database.
Thanks a lot.
ZYT
Hello, everyone:
How to setup a user database to be automatic recover? Is it the same way as the automatic recover of MASTER database from registry key?
Thanks a lot.
ZYT
Which is the best approach with regards to the mirror of data from one server to another.
My first option is to use the replication service available in SQL.
what I need to know here is what are thr pro's and the con's of using this method.
My second option is to use a third party software such as Double Take. Again what would be the pro's and con's
I will not be using cluster service or any hardware high availability.
answers on a postcard.