Showing posts with label building. Show all posts
Showing posts with label building. Show all posts

Friday, March 30, 2012

Moving ALL DBs to new server

I am building a new SQL server and would like to copy ALL DBs (user and
system) to it. The server will eventually have the same name, but the
DB files will be in different locations (paths). Are there any links I
should check out or MSFT KB articles? I tried searching but wasn't
able to get anything for my specific issues. (Also, upgrading Windows
2000 to Windows 2003, but still on SQL Server 2000 SP3.)
I found this one.
http://support.microsoft.com/default.aspx/kb/224071
"tommydogs@.sickoflosers.com" wrote:

> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>
|||In addition to the link posted by Jen, here are some more articles that you
may find helpful:
INF: Disaster Recovery Articles for Microsoft SQL Server
http://www.support.microsoft.com/?id=307775
INF: Moving SQL Server databases to a new location with Detach/Attach
http://www.support.microsoft.com/?id=224071
HOW TO: Move Databases Between Computers That Are Running SQL Server
http://www.support.microsoft.com/?id=314546
INF: Using the WITH MOVE Option with the RESTORE Statement
http://support.microsoft.com/?id=221465
PRB: User Logon and/or Permission Errors After Restoring Dump
http://www.support.microsoft.com/?id=168001
HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
http://www.support.microsoft.com/?id=246133
PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
http://www.support.microsoft.com/?id=274188
How to Resolve Permission Issues When a Database Is Moved Between SQL
Servers
http://www.support.microsoft.com/?id=240872
SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases When
Database Is Moved
http://www.support.microsoft.com/?id=298897
Utility to map users to the correct login
http://www.dbmaint.com/SyncSqlLogins.asp
Keith
<tommydogs@.sickoflosers.com> wrote in message
news:1107283271.072157.290890@.c13g2000cwb.googlegr oups.com...
> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>
|||Thanks for the help! One of the questions I have that doesn't seem to
be answered is this: I detach all user DBs from my current SQL server,
then copy over the master, model, msdb, & tempdb system DBs to the new
server. Can I then copy and reattach user DB files?
Keith Kratochvil wrote:
> In addition to the link posted by Jen, here are some more articles
that you
> may find helpful:
>
>
> INF: Disaster Recovery Articles for Microsoft SQL Server
> http://www.support.microsoft.com/?id=307775
> INF: Moving SQL Server databases to a new location with Detach/Attach
> http://www.support.microsoft.com/?id=224071
> HOW TO: Move Databases Between Computers That Are Running SQL Server
> http://www.support.microsoft.com/?id=314546
> INF: Using the WITH MOVE Option with the RESTORE Statement
> http://support.microsoft.com/?id=221465
> PRB: User Logon and/or Permission Errors After Restoring Dump
> http://www.support.microsoft.com/?id=168001
> HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
> http://www.support.microsoft.com/?id=246133
> PRB: "Troubleshooting Orphaned Users" Topic in Books Online is
Incomplete
> http://www.support.microsoft.com/?id=274188
> How to Resolve Permission Issues When a Database Is Moved Between SQL
> Servers
> http://www.support.microsoft.com/?id=240872
> SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases
When[vbcol=seagreen]
> Database Is Moved
> http://www.support.microsoft.com/?id=298897
>
> Utility to map users to the correct login
> http://www.dbmaint.com/SyncSqlLogins.asp
>
> --
> Keith
>
> <tommydogs@.sickoflosers.com> wrote in message
> news:1107283271.072157.290890@.c13g2000cwb.googlegr oups.com...
and[vbcol=seagreen]
the[vbcol=seagreen]
links I[vbcol=seagreen]
Windows[vbcol=seagreen]
|||I've just recently had to move my database to other server. A mirror in fact.
The faster way to move and get them running was stopping sql services copy
the .ldf and .mdf files to the other server. Copy the folder \mssql\data to
the other server and start the services.
It worked.
But i think it wont work for you since you're gonna place db on different
paths.
Hope you dont have a bad time doing that
"tommydogs@.sickoflosers.com" wrote:

> Thanks for the help! One of the questions I have that doesn't seem to
> be answered is this: I detach all user DBs from my current SQL server,
> then copy over the master, model, msdb, & tempdb system DBs to the new
> server. Can I then copy and reattach user DB files?
>
> Keith Kratochvil wrote:
> that you
> Incomplete
> When
> and
> the
> links I
> Windows
>

Moving ALL DBs to new server

I am building a new SQL server and would like to copy ALL DBs (user and
system) to it. The server will eventually have the same name, but the
DB files will be in different locations (paths). Are there any links I
should check out or MSFT KB articles? I tried searching but wasn't
able to get anything for my specific issues. (Also, upgrading Windows
2000 to Windows 2003, but still on SQL Server 2000 SP3.)I found this one.
http://support.microsoft.com/default.aspx/kb/224071
"tommydogs@.sickoflosers.com" wrote:
> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>|||In addition to the link posted by Jen, here are some more articles that you
may find helpful:
INF: Disaster Recovery Articles for Microsoft SQL Server
http://www.support.microsoft.com/?id=307775
INF: Moving SQL Server databases to a new location with Detach/Attach
http://www.support.microsoft.com/?id=224071
HOW TO: Move Databases Between Computers That Are Running SQL Server
http://www.support.microsoft.com/?id=314546
INF: Using the WITH MOVE Option with the RESTORE Statement
http://support.microsoft.com/?id=221465
PRB: User Logon and/or Permission Errors After Restoring Dump
http://www.support.microsoft.com/?id=168001
HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
http://www.support.microsoft.com/?id=246133
PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
http://www.support.microsoft.com/?id=274188
How to Resolve Permission Issues When a Database Is Moved Between SQL
Servers
http://www.support.microsoft.com/?id=240872
SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases When
Database Is Moved
http://www.support.microsoft.com/?id=298897
Utility to map users to the correct login
http://www.dbmaint.com/SyncSqlLogins.asp
Keith
<tommydogs@.sickoflosers.com> wrote in message
news:1107283271.072157.290890@.c13g2000cwb.googlegroups.com...
> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>|||Thanks for the help! One of the questions I have that doesn't seem to
be answered is this: I detach all user DBs from my current SQL server,
then copy over the master, model, msdb, & tempdb system DBs to the new
server. Can I then copy and reattach user DB files?
Keith Kratochvil wrote:
> In addition to the link posted by Jen, here are some more articles
that you
> may find helpful:
>
>
> INF: Disaster Recovery Articles for Microsoft SQL Server
> http://www.support.microsoft.com/?id=307775
> INF: Moving SQL Server databases to a new location with Detach/Attach
> http://www.support.microsoft.com/?id=224071
> HOW TO: Move Databases Between Computers That Are Running SQL Server
> http://www.support.microsoft.com/?id=314546
> INF: Using the WITH MOVE Option with the RESTORE Statement
> http://support.microsoft.com/?id=221465
> PRB: User Logon and/or Permission Errors After Restoring Dump
> http://www.support.microsoft.com/?id=168001
> HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
> http://www.support.microsoft.com/?id=246133
> PRB: "Troubleshooting Orphaned Users" Topic in Books Online is
Incomplete
> http://www.support.microsoft.com/?id=274188
> How to Resolve Permission Issues When a Database Is Moved Between SQL
> Servers
> http://www.support.microsoft.com/?id=240872
> SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases
When
> Database Is Moved
> http://www.support.microsoft.com/?id=298897
>
> Utility to map users to the correct login
> http://www.dbmaint.com/SyncSqlLogins.asp
>
> --
> Keith
>
> <tommydogs@.sickoflosers.com> wrote in message
> news:1107283271.072157.290890@.c13g2000cwb.googlegroups.com...
> > I am building a new SQL server and would like to copy ALL DBs (user
and
> > system) to it. The server will eventually have the same name, but
the
> > DB files will be in different locations (paths). Are there any
links I
> > should check out or MSFT KB articles? I tried searching but wasn't
> > able to get anything for my specific issues. (Also, upgrading
Windows
> > 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
> >|||I've just recently had to move my database to other server. A mirror in fact.
The faster way to move and get them running was stopping sql services copy
the .ldf and .mdf files to the other server. Copy the folder \mssql\data to
the other server and start the services.
It worked.
But i think it wont work for you since you're gonna place db on different
paths.
Hope you dont have a bad time doing that :)
"tommydogs@.sickoflosers.com" wrote:
> Thanks for the help! One of the questions I have that doesn't seem to
> be answered is this: I detach all user DBs from my current SQL server,
> then copy over the master, model, msdb, & tempdb system DBs to the new
> server. Can I then copy and reattach user DB files?
>
> Keith Kratochvil wrote:
> > In addition to the link posted by Jen, here are some more articles
> that you
> > may find helpful:
> >
> >
> >
> >
> > INF: Disaster Recovery Articles for Microsoft SQL Server
> > http://www.support.microsoft.com/?id=307775
> >
> > INF: Moving SQL Server databases to a new location with Detach/Attach
> > http://www.support.microsoft.com/?id=224071
> >
> > HOW TO: Move Databases Between Computers That Are Running SQL Server
> > http://www.support.microsoft.com/?id=314546
> >
> > INF: Using the WITH MOVE Option with the RESTORE Statement
> > http://support.microsoft.com/?id=221465
> >
> > PRB: User Logon and/or Permission Errors After Restoring Dump
> > http://www.support.microsoft.com/?id=168001
> >
> > HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
> > http://www.support.microsoft.com/?id=246133
> >
> > PRB: "Troubleshooting Orphaned Users" Topic in Books Online is
> Incomplete
> > http://www.support.microsoft.com/?id=274188
> >
> > How to Resolve Permission Issues When a Database Is Moved Between SQL
> > Servers
> > http://www.support.microsoft.com/?id=240872
> >
> > SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases
> When
> > Database Is Moved
> > http://www.support.microsoft.com/?id=298897
> >
> >
> >
> > Utility to map users to the correct login
> > http://www.dbmaint.com/SyncSqlLogins.asp
> >
> >
> > --
> > Keith
> >
> >
> > <tommydogs@.sickoflosers.com> wrote in message
> > news:1107283271.072157.290890@.c13g2000cwb.googlegroups.com...
> > > I am building a new SQL server and would like to copy ALL DBs (user
> and
> > > system) to it. The server will eventually have the same name, but
> the
> > > DB files will be in different locations (paths). Are there any
> links I
> > > should check out or MSFT KB articles? I tried searching but wasn't
> > > able to get anything for my specific issues. (Also, upgrading
> Windows
> > > 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
> > >
>

Moving ALL DBs to new server

I am building a new SQL server and would like to copy ALL DBs (user and
system) to it. The server will eventually have the same name, but the
DB files will be in different locations (paths). Are there any links I
should check out or MSFT KB articles? I tried searching but wasn't
able to get anything for my specific issues. (Also, upgrading Windows
2000 to Windows 2003, but still on SQL Server 2000 SP3.)I found this one.
http://support.microsoft.com/default.aspx/kb/224071
"tommydogs@.sickoflosers.com" wrote:

> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>|||In addition to the link posted by Jen, here are some more articles that you
may find helpful:
INF: Disaster Recovery Articles for Microsoft SQL Server
http://www.support.microsoft.com/?id=307775
INF: Moving SQL Server databases to a new location with Detach/Attach
http://www.support.microsoft.com/?id=224071
HOW TO: Move Databases Between Computers That Are Running SQL Server
http://www.support.microsoft.com/?id=314546
INF: Using the WITH MOVE Option with the RESTORE Statement
http://support.microsoft.com/?id=221465
PRB: User Logon and/or Permission Errors After Restoring Dump
http://www.support.microsoft.com/?id=168001
HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
http://www.support.microsoft.com/?id=246133
PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
http://www.support.microsoft.com/?id=274188
How to Resolve Permission Issues When a Database Is Moved Between SQL
Servers
http://www.support.microsoft.com/?id=240872
SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases When
Database Is Moved
http://www.support.microsoft.com/?id=298897
Utility to map users to the correct login
http://www.dbmaint.com/SyncSqlLogins.asp
Keith
<tommydogs@.sickoflosers.com> wrote in message
news:1107283271.072157.290890@.c13g2000cwb.googlegroups.com...
> I am building a new SQL server and would like to copy ALL DBs (user and
> system) to it. The server will eventually have the same name, but the
> DB files will be in different locations (paths). Are there any links I
> should check out or MSFT KB articles? I tried searching but wasn't
> able to get anything for my specific issues. (Also, upgrading Windows
> 2000 to Windows 2003, but still on SQL Server 2000 SP3.)
>|||Thanks for the help! One of the questions I have that doesn't seem to
be answered is this: I detach all user DBs from my current SQL server,
then copy over the master, model, msdb, & tempdb system DBs to the new
server. Can I then copy and reattach user DB files?
Keith Kratochvil wrote:
> In addition to the link posted by Jen, here are some more articles
that you
> may find helpful:
>
>
> INF: Disaster Recovery Articles for Microsoft SQL Server
> http://www.support.microsoft.com/?id=307775
> INF: Moving SQL Server databases to a new location with Detach/Attach
> http://www.support.microsoft.com/?id=224071
> HOW TO: Move Databases Between Computers That Are Running SQL Server
> http://www.support.microsoft.com/?id=314546
> INF: Using the WITH MOVE Option with the RESTORE Statement
> http://support.microsoft.com/?id=221465
> PRB: User Logon and/or Permission Errors After Restoring Dump
> http://www.support.microsoft.com/?id=168001
> HOW TO: Transfer Logins and Passwords Between Instances of SQL Server
> http://www.support.microsoft.com/?id=246133
> PRB: "Troubleshooting Orphaned Users" Topic in Books Online is
Incomplete
> http://www.support.microsoft.com/?id=274188
> How to Resolve Permission Issues When a Database Is Moved Between SQL
> Servers
> http://www.support.microsoft.com/?id=240872
> SAMPLE: Mapsids.exe Helps Map SIDs Between User and Master Databases
When[vbcol=seagreen]
> Database Is Moved
> http://www.support.microsoft.com/?id=298897
>
> Utility to map users to the correct login
> http://www.dbmaint.com/SyncSqlLogins.asp
>
> --
> Keith
>
> <tommydogs@.sickoflosers.com> wrote in message
> news:1107283271.072157.290890@.c13g2000cwb.googlegroups.com...
and[vbcol=seagreen]
the[vbcol=seagreen]
links I[vbcol=seagreen]
Windows[vbcol=seagreen]|||I've just recently had to move my database to other server. A mirror in fact
.
The faster way to move and get them running was stopping sql services copy
the .ldf and .mdf files to the other server. Copy the folder \mssql\data to
the other server and start the services.
It worked.
But i think it wont work for you since you're gonna place db on different
paths.
Hope you dont have a bad time doing that
"tommydogs@.sickoflosers.com" wrote:

> Thanks for the help! One of the questions I have that doesn't seem to
> be answered is this: I detach all user DBs from my current SQL server,
> then copy over the master, model, msdb, & tempdb system DBs to the new
> server. Can I then copy and reattach user DB files?
>
> Keith Kratochvil wrote:
> that you
> Incomplete
> When
> and
> the
> links I
> Windows
>

Wednesday, March 7, 2012

Move DTS package to another server

I'm building a DTS package on my development server which I want to
move to my test server. I can save the file and import it, but there
are connections etc that will be named differently.

Is there a quick and easy way of changing the names of connections ? I
also have some CSV files used for import/export (quicker than table
copy for my needs), but again I will need to change the path.

How can I do this without having to check each component ?

Thanks

Ryan"Ryan" <ryanofford@.hotmail.com> wrote in message
news:7802b79d.0402130529.230f2596@.posting.google.c om...
> I'm building a DTS package on my development server which I want to
> move to my test server. I can save the file and import it, but there
> are connections etc that will be named differently.
> Is there a quick and easy way of changing the names of connections ? I
> also have some CSV files used for import/export (quicker than table
> copy for my needs), but again I will need to change the path.
> How can I do this without having to check each component ?
> Thanks
> Ryan

Have a look at some of these articles:

http://www.sqldts.com/default.aspx?101

One possible approach is to define global variables in the packages for the
connection properties. Then at the start of the package, set the connection
properties with a Dynamic Properties task. Since you can specify global
variable values on the command line using DTSRUN.EXE, this is also a handy
way to pass in the properties from a batch file.

Simon