Restoration --URGERNT --Please Help
May 16, 2000
Please excuse my lack of understanding as I am not a SQL DBA.
I have just received a database backup: "myDB_20005034400.bak" and have been
asked to put a copy on my server. I am told that this was made from the Enterprise Manager's DB Maintenance Utility. The backup Administrator has left the company with the server in a crashed condition.
How can I find out what "myDB_20005034400.bak" pertains to? (No msdb, etc. available). I am RESTORING TO A NEW SERVER.
MAIN: HOW DO I RESTORE THIS FILE TO A NEW DATABASE; ie TestDB (TestDB.mdf;
TestDB.ldf)?
Thanks a trillion.
Shelly
View 2 Replies
ADVERTISEMENT
May 7, 2001
i am restoring newdatabase(test) with the backup from other server.
The problem is the restoring process is hanging and its not restoring the
database .when i stopped and refreshed the databases the database is not showing up
could some body Give patch for this problem
Thanks
Prasad
View 2 Replies
View Related
Jan 11, 2000
Hi,
Please give the retoration procedure:
I have a production server and I want test it on the other machine to check whether my backups are working or not?(Please give me step by step so that I can do easily)
Your answer will be highly appreciated.
Thanks,
dindu
View 1 Replies
View Related
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
Apr 21, 2008
Hi Gurus,
While one of my DB through job i got following error message.
Failed to uncompressing data block. RESTORE DATABASE is terminating abnormally. Read on "VDI_2A04E518-0B70-41F8-BA22-48A63F9AC65C_0" failed: 1223(The operation was canceled by the user.) [SQLSTATE HY000] (Error 52008). The step failed.
Can someone help in this.
Thanks,
ServerTeam
View 5 Replies
View Related
May 7, 2008
Hi Gurus,
Every time when i want to restore database Iam going with SqlLight restoration scripts.
Here iam unable to get estimation time while restoration time.
How can i get time to complete restoration when database is in middle of restoration.
Please advice...
Thanks,
ServerTeam
View 3 Replies
View Related
Feb 14, 2006
VijayaKumar writes "We have SQL Server 7.0 & that machine was crahesd out. We took the .ndf & .ldf files and restore the DB in onther machine.
In that machine I am able to Login but during the time of retrival (select query or stored procedure) it gives the following error....
Server: Msg 823, Level 24, State 1, Line 1
I/O error (bad page ID) detected during read of BUF pointer = 0x1174f100, page ptr = 0x217f8000, pageid = (0x1:0x55b1), dbid = 12, status = 0x801, file = E:MYSTS_CWS_DB_PRIMARY.ndf.
Connection Broken"
View 1 Replies
View Related
Mar 29, 2007
Problem in restoring new database with the backup file stored in tape drive
tape doesnnot contain sql server backup set
View 2 Replies
View Related
Oct 16, 2007
Hello all,
I operate a website which runs on Server 2003 and SQL 2005 Express. Unfortunately my server experienced a hard drive failure, however fortunately I have a full backup using 2003's NT Backup.
My new server is slightly different specification wise to my last server - but my question is, what are my options for restoring the database and how would I go about this? I do administor 2003 servers, but I'm not a database administrator.
My initial thoughts are to update Windows and its components (such as IE) and SQL 2005 to the same equivalent versions, and to perform a full restore, but what if it breaks Windows?
My second thought is to somehow extract the database from my backup file, but then I wouldn't know where to start how to re-import everything.
All comments would be welcome! Many thanks, Mike
View 5 Replies
View Related
Nov 6, 2007
Hi all,
Please find the following details and give me appropriate solution.
Full backup: everyday :00:30 hrs
Differential backup: everyday 20:00 hrs
Transction log backup: every 30 mins
Database size is 150+ GB
Lastday one of our disk got crashed which had contains data and log file of the database at 22:25. Now my client wants all of the data till 22:25.
I can recover data till 22:00 but how can I recover last 25 minutes data.
Please help ASAP
View 5 Replies
View Related
Jun 5, 2006
I am working on a site redesign which attaches to an MS SQL backend. The hosting company sent me a backup copy of the DB. I am trying to restore the db into my SQL Server but keep getting an error. I created an empty DB and then backed up that DB. I then replaced the .bak from my db with the .bak file he sent to me in a zip document. I then tried to do a DB restore through enterprise manager and recieved this error:
Device activation error. The physical file name 'd:sqldatabasemssqldatastklaweb_db_data.mdf' may be incorrect. File 'stklaweb_db_data' cannot be restored to 'd:sqldatabasemssqldatastklaweb_db_data.mdf'. Use With Move to identify a valid location for the file. Device activation err. The physical file name 'd:sqldatabasemssqldatastklaweb_db_data.ldf' may be incorrect. File 'stklaweb_db_data' cannot be restored to 'd:sqldatabasemssqldatastklaweb_db_data.ldf'. Use With Move to identify a valid location for the file. RESTORE DATABASE is terminating abnormally.
I need to get this db restored asap. Any suggestions/help would be GREATLY appriciated!!!
Jason
View 12 Replies
View Related
Jul 24, 2002
SQL Server 7 or 2000.
I restore a database on a different server from a device file. This database has a user defined for it. In this case, 'privuser' is the name. No login has been defined.
I can add the privuser login but cannot grant db access because privuser already exists in the db. I cannot drop 'privuser' because the user owns all the user objects in the db.
How can I make the privuser login I create access the db using the privuser username in the db? Would having the login created before restoring the db as a new db work?
View 4 Replies
View Related
Sep 22, 2000
Hi Folks:
This seems like a pretty straightforward question, but since I've been trying to find this in BOL and not having any luck, I thought I'd ask some folks more experienced than I.
How much room do I need on a SQL box to restore a 6.45 gig database? (it's
going from a huge machine to a backup tape, then from the backup tape to a
much smaller machine for testing an app, and we're trying to find out what we need to do to make it all work out.)
I'm assuming that I would need significantly more than the 6 gigs of the db for the work of actually doing the restore, but can't find out how much more...
Any ideas would be most appreciated.
Many thanks in advance,
Tom
View 1 Replies
View Related
Dec 5, 2000
Hi,
This is the problem which we face now and then. There is an automated job that run everyday night to restore the Database for reporting purposes. Before running that job an NT Task Schedular stop starts the sql server. This is to make sure that all the connections are closed. Nobody uses it at Night. But some times the job fails with bellow error message...
"Database in use. The system administrator must have exclusive use of the database to run the restore operation. [SQLSTATE 42000] (Error 3101) Backup or restore operation terminating abnormally. [SQLSTATE 42000] (Error 3013) Associated statement is not prepared [SQLSTATE HY007] (Error 0). The step failed."
Should I make the DB option set to single user mode. I don't think that is the problem.. because it runs fine most of the time..but sometime it fails.
Please help.. Thanks in advance :-)
Shyam.
View 2 Replies
View Related
Dec 16, 2005
Hello friends,
Kindly guide, if you are aware of any mechanism for restoring the differential backup only.
This can save a lot of time other than restoring complete database.
Thanks in advance.
Shrirang
View 2 Replies
View Related
Feb 16, 2007
pls tell me how to solve the database in use problem while restoring database using query.
View 2 Replies
View Related
Sep 10, 2001
It appears that in SQL 2000 restoring a single table is a bit more tedious and less user friendly as in earlier versions (6.5). Can anyone explain in a nutshell the easiest/quickest way to restore a single table from a backup?
Thanks,
Christine
View 1 Replies
View Related
Feb 24, 2005
Hi,
I am working on a .NET application (VB.NET). We had to restore our SQL server database from yesterday's backup as we accidentally overwrote some tables. After restorign, we are able to log to the database alright from SQL Query analyzer and Enterprise manager but when we try to access it from the .NET application, it gives an error message "Cannot open database requested in login '****' login fails.
Login failed for user '****'". What could be the reason and what would be the solution?
Thanks in advance
View 2 Replies
View Related
Aug 28, 2007
Hi,
I have a backup (.bak) of one 'AdventureWorks' database with me and need to restore it to the AdventureWorks database I have created in my SQL Server 2005 database. I go by the normal process --> restore from device and then select the path of the .bak file in my hard drive but it is giving the error "The backup set holds a backup of a database other than the existing database AdventureWorks".
Obviously I have got the backup file from a different source and would like to replicate the same database in my own machine.
Can anyone please help me find out why is this not working?
Regards.
View 3 Replies
View Related
Jul 23, 2005
Hi,its newbie question.I have one production server(A) ,one backup server(B),additionalserver(C).my database backup are moved from A to C in regular basis.My problem is that when ever I have to restore my database in BackupServer i.e B,I have to first copy that particular Backup File on to my Backup Serverfrom Cthen i have to perform my restoration process.Even if I mapped the drive in which my bakup file is lying ,I amnot able to see that drive in SQL Entriprise Manager and when i amrestoring through Query Analyzerit shows the following error -Server: Msg 3201, Level 16, State 2, Line 1Cannot open backup device 'G:pharmacypharmacy_db_200505210330.BAK'.Device error or device off-line. See the SQL Server error log for moredetails.Server: Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormally.What i think is it a waste a time ,first copy the bak file in localdrive and perform the restoration process.SO please can any one guide me how should i do the network restorationif possible or put me to right path for doing it so.I am using SQL SERVER 2000,OS WINDOWS 2000 Adv SERVER.cheersT.V
View 3 Replies
View Related
Jul 23, 2005
Hi,When i use to work on Windows 2000 advance server and Sql 2000I was able to do network restoration by using a mapped drive where mybackup use to be lying.What i did was I assigned administrator rightsto my login and in Services (mssqlserver)i added my login.Then I was able to access any mapped drive from my network in Sqlserver 2000.Now i have switched my OS to Windows Server 2003.What I want to know is , is their any other setting that has to donefor network restoration , because after following above steps then to Iam not able to access mapped drive in SQL SERVER 2000.So can anyone help me to know what setting should i do in Windows 2003server or in SQL Server 2000 to do a network restoration of database.Thanks in advanceTV
View 1 Replies
View Related
May 22, 2006
Hi,Does a database restoration perform anyupdate-statistics/defragmentation by default. We observed a markedimprovement in performance when we restored the a database from an highend machine to a low machine.Could someone shed some light on this.Regards,Thyagarajan Delli.
View 1 Replies
View Related
May 15, 2007
Hello there,
I am facing problem in restoring a single table from backup file.
I have taken backup before one week, and now that i lost my data of one table named 'activity' i want to restore its data from backup.
How do i do it? i am not able to restore it.
Regards,
Dev.
View 3 Replies
View Related
Mar 11, 2002
hi
i got a problem
sorry I'm not good at english
my windows 2000 os is failed so
the os was restored my me
after restoration i had a problem
the database is running but em and query analyzer is not running
and the server manager is not running also
should i reinstall the ms-sql server all over
or is there other way to correct this problem ?
I need your help thanks
View 1 Replies
View Related
Apr 7, 2004
Q--Is there any feature of sqlserver-2000 by which we can restore the database with minimum time by using the parallel processor?
if the answer is yes wht is the statistics with example
For example
Time reqd for restoring 20GB of database 25minutes.
with configuration of Xeon processor,1GB memory and no users are using the server.
Basic purpose of my question is i need to give a solution to the client by using which he will be able to restore 20GB of data in 1 minutes .Is there any 3rd party utility which is available in market or can we achive this in mssqlserver2000, itself by increasing the resources like memory,cpu etc.
View 1 Replies
View Related
May 27, 2004
Hello,
I'm testing "Point In Time" restoration for my system using both Database & Log backup files. (Database backup once a day; Log backup every 4 hours)
When I use T-SQL to perfrom the restoration, I can specify one .BAK file with numerous .TRN files and restore to any 'point of time' with no issue.
However, if I use EM to perform the same restoration, I can only specify one .BAK file with a maximum of two .TRN files (although I can see all the .TRN files) in order to restore the database properly. If I specify more .TRN files, after restoration, my DB will be in 'LOADING' status and can't be used.
Does anyone encounter the same problem before and know what is going on?
Thank You.
View 3 Replies
View Related
Apr 25, 2008
Hi All,
I am trying to restore sql 2000 database backup on sql 2005. I get below error.
SQL Server Assertion: File: <mdupgrad.cpp>, line = 3342 Failed Assertion = 'f' No object for Index!. This error may be timing-related. If the error persists after rerunning the statement, use DBCC CHECKDB to check the database for structural integrity, or
Error: 928, Severity: 20, State: 1.
During upgrade, database raised exception 3624, severity 20, state 1, address 000000000247E5A1. Use the exception number to determine the cause
Error: 3624, Severity: 20, State: 1.
I feel this could be due to upgrade from sql 2000 to sql 2005.
I could restore other 2000 databases successfully to 2005. However only this particular database is throwing this error.
Can anyone advise on this please.
Thanks in Advance
Kiran
View 13 Replies
View Related
Jul 20, 2005
Hi All:Being a bit of a nube to MSSQL I could use a little advice. This is thesituation.A client's HDD became full so I backed up, deleted then recreated a blankdatabase (they said they didn't need the stored data).They have now deceided that they want the data again.My plan is to restore the database to a second volume so it can grow as muchas is needed, however, there is now data in the second instance that wouldneed importing to the restored DB.I can restore the backed up db with a different name and reconfigure thesoftware that accesses it but what would be the best method to append therestored DB with the data in the current instance of said DB? Both DBs areidentical.TIAMP
View 1 Replies
View Related
Feb 15, 2008
Hi Experts,
I am setting up new production box. I have 2 separate boxes with SQL server 2000 Standard Edition with sp4.
As SQL server standard edition don't have logshipping in it, I created manual jobs to ship logs every 10 mins and Full Backup once in a day from Server A to Server B.
Database on server A have multiple filegroups. When I try restoring database backup on Server B which already has the database on standby, I get an error.
Server: Msg 5173, Level 16, State 1, Line 1
Cannot associate files with different databases.
Server: Msg 5105, Level 16, State 1, Line 1
Device activation error. The physical file name 'I:sqldatapsi_dbPSI_DB_TESTDATA.mdf' may be incorrect.
Server: Msg 5173, Level 16, State 1, Line 1
Cannot associate files with different databases.
Server: Msg 5105, Level 16, State 1, Line 1
Device activation error. The physical file name 'I:sqldatapsi_dbPSI_DB_ITEMDATA.mdf' may be incorrect.
Server: Msg 5173, Level 16, State 1, Line 1
Cannot associate files with different databases.
Server: Msg 5105, Level 16, State 1, Line 1
Device activation error. The physical file name 'I:sqldatapsi_dbPSI_DB_OTHERDATA.mdf' may be incorrect.
Server: Msg 5173, Level 16, State 1, Line 1
Cannot associate files with different databases.
Server: Msg 5105, Level 16, State 1, Line 1
Device activation error. The physical file name 'I:sqldatapsi_dbPSI_DB_ANALYSISDATA.mdf' may be incorrect.
Server: Msg 5173, Level 16, State 1, Line 1
Cannot associate files with different databases.
Server: Msg 5105, Level 16, State 9, Line 1
.
.
.
.
.
.
.
This error continues for all the files I created on server A
But the path I:sqldatapsi_db exists.
Restoration works fine when I don€™t have any database on Server B.
I am using the "replace" keyword while doing the restoration
Please help, this is little urgent.
Thanks in advance.
Regards
Sachin
View 4 Replies
View Related
Jul 27, 2006
When I tried to restore backup of publication database, time taken for restoration is too long [ 4 hours]. The actual database restore takes only 20 minutes but the stored procedures used for cleanup replication takes the remaining time. Is the issue related to my environment or the cleanup replication stored procedure?
View 7 Replies
View Related
Jun 23, 2015
After performing copy_only backup of the Database using the below query, I restored the Database and now I checked and found out that there is a discrepancy in the table structure of the restored Database.Its a scheduled backup job.one of the column of the table varchar(300) has been changed to varchar(200)
BACKUP DATABASE DBname TO Â DISK = N'D:BACKUPdbname.bak' WITH Â COPY_ONLY, NOFORMAT, NOINIT, Â NAME = N'Database Backup', SKIP, NOREWIND, NOUNLOAD, Â STATS = 10
GO
View 7 Replies
View Related
Aug 6, 2015
I am in process of automating a cube migration from SSMS 2008 to SSMS 2012.
In this process iam deleting the existing cube databases and restoring them on a different location on the same server.
When i try to execute the restore command or restore using UI i get a wierd error message like this below:
Â
"TITLE: Microsoft SQL Server Management Studio
------------------------------
 File system error: The following error occurred while opening the file 'DrivePath3F9D4D128D5E417FA6F2[CUBEDBNamepath].fact.map'.
Server: The current operation was cancelled because another operation in the transaction failed.
(Microsoft.AnalysisServices)
[Code] ....
View 5 Replies
View Related
Jul 15, 2015
We take a full backup in the early morning and hourly transaction log back during the working hours for one database in the production server. The application team made certain changes to the design of the said database in their development server. The backup from the development server was restored to the production server during working hours. After the restoration should we take a full backup before next transactional logbackup? Would the transactional log backup with out a full backup after the restoration of a database be valid?
View 5 Replies
View Related