October 26, 2006 at 1:06 pm
I have db backups taken from the maintenance plans ( sqlserver 2000 + windows 2003). The db is set to simple so the log file is not backed up. As part of move to cluster, I need to restore a backup .BAK of production db to the cluster. Which is the best way ? This is sqlserver 2000 on windows 2003. Cannot copy across the live MDF and LDf files as I cannot bring the production to single server/detach and re-attach.
Thanks,
October 26, 2006 at 1:28 pm
Look up RESTORE DATABASE in BOL and refer to the WITH MOVE clause. This will allow you to use your backup file to create a new database. Either that or create a new blank database configured how you want, and restore your backup file (with override) from EM.
October 26, 2006 at 2:56 pm
As I have to move the files across the network. Will copy the .BAK, create blank db abd attach the file. I'll see how this goes. The backup is about 2 GB.
October 26, 2006 at 3:01 pm
When you say 'files', I assume that you are only referring to the backup file correct? There is no need to 'attach' any files. Can you clarify your last statement for me?
October 27, 2006 at 3:22 am
We have recently been upgrading servers, and found it very convenient to schedule backup across the network to the new server. Then simply restore from the local .BAK to the new server, and your database is on its new platform. (Just got to sort out those pesky user accounts...)
You need server network connections that are fast enough (100Mb/Full - we did have one server at 10Mb/Half and it took 4+ hours rather than 20 minutes); and the SQLServerAgent must be running under an account that has permissions to the remote server (we use a domain account). Just specify the target drive using the UNC \\server\share\etc.... 3GB, < 20 minutes.
Make sure you get the server collations right, especially if moving up versions (we were moving 7 to 2000 - hello 21st Century).
October 27, 2006 at 7:03 am
Yes, these are the backup files: to be precise the backup of the MDF: dbname_datetime.BAK.
I copied the .BAK file across and am trying to restore to a newly created db using EM:
I am not able to see the .BAK file I copied to restore from ???
how do I do this ?
Thanks for all the help
October 27, 2006 at 8:01 am
Well, where did you copy the .bak to? The Windows account running your SQL Server service must have read access to the folder where you've placed the .bak file.
October 27, 2006 at 9:00 am
Thanks John,
I restored the db: was looking at the wrong spot.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply