Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

moving database from stand alone to cluster
hi
i am looking for some advice on how to move a database from a stand alone
sql server to a clustered sql server.

i tried the copy db wizard, it failed with a meaningless error

i tried to do a backup and restore and that works only if i restore it to
the t: drive,
i can't specify a different path (which is what i want to do).  if i do
specfiy a different path for the data and log file, e.g. t:\data and t:\logs
it gives me and error stating i should use the "with move"


thanks

Report this thread to moderator Post Follow-up to this message
Old Post
jason
09-01-05 01:23 AM


Re: moving database from stand alone to cluster
Another option is to detach your database, copy the files across the network
and then reattach it on the new system.  That said, doing a backup/restore
should work fine.  You can get the full restore syntax from books online,
however, here the example for what you need to do:

<snip>
D. Restore a database and move files
This example restores a full database and transaction log and moves the
restored database into the C:\Program Files\Microsoft SQL Server\MSSQL\Data
directory.

RESTORE DATABASE MyNwind
FROM MyNwind_1
WITH NORECOVERY,
MOVE 'MyNwind' TO 'c:\Program Files\Microsoft SQL
 Server\MSSQL\Data\Ne
wNwind.mdf',
MOVE 'MyNwindLog1' TO 'c:\Program Files\Microsoft SQL
 Server\MSSQL\Data\Ne
wNwind.ldf'
RESTORE LOG MyNwind
FROM MyNwindLog1
WITH RECOVERY
</snip>

--
--Brian
(Please reply to the newsgroups only.)


"jason" <jason@discussions.microsoft.com> wrote in message
news:544B9192-C834-4DAA-AECD- 132850587BED@microso
ft.com...
> hi
> i am looking for some advice on how to move a database from a stand alone
> sql server to a clustered sql server.
>
> i tried the copy db wizard, it failed with a meaningless error
>
> i tried to do a backup and restore and that works only if i restore it to
> the t: drive,
> i can't specify a different path (which is what i want to do).  if i do
> specfiy a different path for the data and log file, e.g. t:\data and
> t:\logs
> it gives me and error stating i should use the "with move"
>
>
> thanks



Report this thread to moderator Post Follow-up to this message
Old Post
Brian Lawton
09-01-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 01:46 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006